Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update spec/pivotal-tracker/story_spec.rb

  • Loading branch information...
commit 15dc131455ab73e144e35491daba292959fae871 1 parent 123f242
@Shumkov authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 spec/pivotal-tracker/story_spec.rb
View
7 spec/pivotal-tracker/story_spec.rb
@@ -186,7 +186,12 @@ def story_for(attrs)
end
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
it "should include integration_id" do
Please sign in to comment.
Something went wrong with that request. Please try again.