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:
Luciano Sousa
2014-12-31 11:55:03 -03:00
parent fce74e64a1
commit b3d769ff4f
80 changed files with 1245 additions and 1247 deletions

View File

@@ -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