mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Update rspec syntax to v3
update rspec syntax to v3 change syntax to rspec v3 oops. fix typo mailers classes with rspec3 syntax helpers with rspec3 syntax jobs with rspec3 syntax serializers with rspec3 syntax views with rspec3 syntax support to rspec3 syntax category spec with rspec3 syntax
This commit is contained in:
@@ -21,10 +21,10 @@ describe TopicFeaturedUsers do
|
||||
|
||||
t.reload
|
||||
|
||||
t.featured_user1_id.should == p2.user_id
|
||||
t.featured_user2_id.should == p4.user_id
|
||||
t.featured_user3_id.should == nil
|
||||
t.featured_user4_id.should == nil
|
||||
expect(t.featured_user1_id).to eq(p2.user_id)
|
||||
expect(t.featured_user2_id).to eq(p4.user_id)
|
||||
expect(t.featured_user3_id).to eq(nil)
|
||||
expect(t.featured_user4_id).to eq(nil)
|
||||
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user