rspec2
RSpec 2 View test to validate accessible markup?
I want to ma开发者_如何学Cke some basic accessibility tests in RSpec (obviously, to be further validated by other tools and users later; this is to catch the low-hanging fruit like finding images w/o[详细]
2023-03-30 17:15 分类:问答RSpec tests pass individually but fail as suite because of ARGV
I have three RSpec2 test files, each of which passes individually. But running the suite with rspec spec (or jruby -S rspec spec) fails.[详细]
2023-03-30 14:36 分类:问答RSpec and testing Rails Gem
I\'m trying to set a testing framework for a rails engine. I have everything working, I generated the corresponding rspec file with:[详细]
2023-03-30 03:52 分类:问答Capybara Cucumber test fail to find xpath when browser is minimized
I\'m running a scenario where form fields are automatically filled in with invalid val开发者_StackOverflow社区ues which trigger some javascripts to show warnings under each incorrectly filled field wh[详细]
2023-03-29 15:18 分类:问答Rails 3.1 Engine plugin rspec testing (external gem Spree Commerce)
I created an engine inside an app that depends on an external gem: Spree. And I did my best to set RSpec within that engine following this guide.[详细]
2023-03-29 12:10 分类:问答How to stub DataMapper association with RSpec2?
I\'m trying to write some specs and want to stub out the calls to the database so I don\'t rely on an开发者_StackOverflow actual filled database to get the tests running.[详细]
2023-03-29 04:23 分类:问答Why does guard cause my tests to fail?
I\'m new to rails, and starting a new project.I have rspec2 and cucumber working with my tests with no problem.However, if I try to add guard-rspec and guard-cucumber, it causes both my specs and inte[详细]
2023-03-29 00:26 分类:问答Rspec with special characters æ ø å
I am writing a Danish web app, and trying to verify email addresses. These can include the characters æ ø å among others. Here is my rspec code:[详细]
2023-03-28 22:47 分类:问答how do I use Rspec to test the contents of a textarea in a view?
I am writing a view spec with RSpec and I keep getting this problem.The test will find textarea but it fails when I try to test the contents.Any suggestions?[详细]
2023-03-28 21:22 分类:问答Testing Rails 3 respond_with with RSpec
I recently changed my controller code from: def create @checklist_item = @checklist.items.build(params[:checklist_item])[详细]
2023-03-28 19:24 分类:问答