Skip to content

Commit

Permalink
Update spec/pivotal-tracker/story_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Nov 26, 2012
1 parent 123f242 commit 15dc131
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spec/pivotal-tracker/story_spec.rb
Expand Up @@ -186,7 +186,12 @@ def story_for(attrs)
end end


it "should include other_id" do it "should include other_id" do
story_for(:other_id => 10)["other_id"].should == "10" it "when passed a string" do
story_for(:other_id => "10")["other_id"].should == "10"
end
it "when passed an integer" do
story_for(:other_id => 10)["other_id"].should == "10"
end
end end


it "should include integration_id" do it "should include integration_id" do
Expand Down

0 comments on commit 15dc131

Please sign in to comment.