Search code examples
How to mix a module into an rspec context...


rubyrspec2ruby-1.9

Read More
How to use the test database with Capybara?...


ruby-on-rails-3rspec2capybara

Read More
undefined method `has_db_column?' for #<Notification:0xcc2b350>...


ruby-on-railsrubyrspecrspec2

Read More
RSpec fails when matching two classes, even though the classes are _identical_...


rubyruby-on-rails-3rspec2pandastream

Read More
In RSpec I want to replace argument to a method call...


rubyrspecrspec2

Read More
What's difference between Factory.build and Factory.attributes_for?...


rubyrspec2factory-bot

Read More
What's the right way to modify the params passed to controller in rails 3.1.0?...


ruby-on-railsrspec2factory-bot

Read More
Testing Rails 3 respond_with with RSpec...


ruby-on-railsruby-on-rails-3rspecrspec2

Read More
RSpec: Testing out models with methods that call update_attributes...


ruby-on-rails-3.1rspec2rspec-rails

Read More
Redirect program's output somewhere else when running RSpec...


rubyrspecrspec2

Read More
Manually reconnecting to the database in Rails tests...


ruby-on-rails-3postgresqlactiverecordrspec2

Read More
How to rspec join record in many-to-many in rails 3.1.0...


ruby-on-railsruby-on-rails-3.1rspec2

Read More
Rspec for the following method...


ruby-on-railsrubyrspecrspec2

Read More
Test that associated model has been built?...


ruby-on-railsrubyruby-on-rails-3rspecrspec2

Read More
testing logging in function of sorcery using rspec in rails 3.1...


ruby-on-rails-3.1rspec2sorcery

Read More
Rspec: Testing MongoMapper query...


unit-testingtestingrspec2mongomapperrspec-rails

Read More
How to DRY (these) RSpec tests using custom matcher...


ruby-on-rails-3refactoringrspec2dry

Read More
how do I get my logger messages to go to a file when testing a controller with rspec?...


ruby-on-railsruby-on-rails-3testingrspecrspec2

Read More
Define stub/mock expectation/should_receive in one line?...


ruby-on-railsrubyrspec2rspec-rails

Read More
validates with :if condition failed in rspec...


ruby-on-railsrspec2

Read More
How to test a scenario that requires javascript to complete?...


ruby-on-rails-3testingintegration-testingrspec2factory-bot

Read More
Mock external class in Rails controller spec...


ruby-on-railsrubyruby-on-rails-3rspecrspec2

Read More
RSpec: undefined method `double' for #<RSpec::Core::ExampleGroup::Nested_1:0x007fcc2f626d50&g...


rspecrspec2

Read More
Make RSpec destroy records rather than delete them...


activerecordtransactionsruby-on-rails-3.1rspec2

Read More
RSpec testing non validating has_many through relationship...


ruby-on-rails-3rspecrspec2

Read More
session object in rspec integration test...


ruby-on-railsintegration-testingrspec2capybara

Read More
How do I undo File System changes made in my Rails/RSpec tests?...


ruby-on-railstestingrspec2

Read More
Testing mocked model with RSpec2 returning 0 items and no response body...


ruby-on-railsdevisebddrspec2

Read More
How to reuse test doubles used across many controller specs...


ruby-on-railsrspec2

Read More
Stubbing ActiveRecord dynamic finders with RSpec...


ruby-on-railsactiverecordrspecrspec2

Read More
BackNext