everydayrails / everydayrails-rspec-2017

Sample source for the 2017 edition of Everyday Rails Testing with RSpec.
http://rspectutorial.com
312 stars 247 forks source link

Chapter 4 be_true made the test fail #74

Closed KvApril closed 6 years ago

KvApril commented 6 years ago

It seems that be_true was deprecated in rspec3

it "does somthing with multiple users" do
      user1 = FactoryGirl.create(:user)
      user2 = FactoryGirl.create(:user)
      expect(true).to be_true # or expect(true).to be_truthy  
 end
ruralocity commented 6 years ago

Good catch, I'll fix this in the next release. Thanks.

ruralocity commented 6 years ago

Released!