Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rspec

How to define an array / hash in factory_bot?

rails rspec before all vs before each

ruby-on-rails rspec

How to make Capybara check for visibility after some JS has run?

How to test ActionMailer deliver_later with rspec

Ruby Rspec : Testing instance variables without adding an accessor to source

Factory-girl create that bypasses my model validation

Stubbing authentication in request spec

Can RSpec stubbed method return different values in sequence?

Rspec 3 how to test flash messages

ruby-on-rails ruby rspec

How to get Rails.logger printing to the console/stdout when running rspec?

Difference between an it block and a specify block in RSpec

ruby-on-rails ruby rspec

How do I prepare test database(s) for Rails rspec tests without running rake spec?

capybara assert attributes of an element

RSpec: What is the difference between let and a before block?

How to assert number of elements using Capybara with proper error message?

rspec dsl capybara

Generate a controller with all the RESTful functions

Capybara: How do I fill in a input field by its ID

rspec capybara

How to set up factory in FactoryGirl with has_many association

undefined method `visit' when using RSpec and Capybara in rails

How is spec/rails_helper.rb different from spec/spec_helper.rb? Do I need it?