To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!More about adding a collaborator
By default rspec verified doubles dont support dynamic methods on
rspec-rails enabled this support for column
methods through an extension.
a file named "spec/models/widget_spec.rb" with:
require "rails_helper" RSpec.describe Widget, :type => :model do it "has one after adding one" do instance_double("Widget", :name => "my name") end end
- the examples should all pass
Last published about 1 year ago by myronmarston.
RSpec Rails settings