fix most deprecations in the specs (still some left)

This commit is contained in:
Régis Hanol
2014-09-25 17:44:48 +02:00
parent dd5872eecb
commit de76b512c1
121 changed files with 859 additions and 856 deletions

View File

@ -45,7 +45,7 @@ describe SuggestedTopicsBuilder do
end
it "has the correct defaults" do
builder.excluded_topic_ids.include?(topic.id).should be_true
builder.excluded_topic_ids.include?(topic.id).should == true
builder.results_left.should == 5
builder.size.should == 0
builder.should_not be_full
@ -77,8 +77,8 @@ describe SuggestedTopicsBuilder do
builder.size.should == 1
builder.results_left.should == 4
builder.should_not be_full
builder.excluded_topic_ids.include?(topic.id).should be_true
builder.excluded_topic_ids.include?(other_topic.id).should be_true
builder.excluded_topic_ids.include?(topic.id).should == true
builder.excluded_topic_ids.include?(other_topic.id).should == true
end
end