Skip to content

Commit

Permalink
Merge branch 'release/0.5.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
potomak committed Apr 15, 2012
2 parents dfabbc0 + f27157a commit d599b9d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion spec/views/index.haml_spec.rb
Expand Up @@ -2,7 +2,14 @@

describe "index.haml" do
it "should display 'Gallery' title" do
render("/views/index.haml")
render("/views/index.haml", :params => {})
rendered.should match(/Gallery/)
end

it "should include javascript to remove app requests" do
render("/views/index.haml", :params => {:request_ids => "1,2,3"})
rendered.should match(/FB\.api\('1/)
rendered.should match(/FB\.api\('2/)
rendered.should match(/FB\.api\('3/)
end
end
2 changes: 1 addition & 1 deletion version.rb
@@ -1 +1 @@
DRAW_VERSION = "0.5.4".freeze unless defined?(DRAW_VERSION)
DRAW_VERSION = "0.5.5".freeze unless defined?(DRAW_VERSION)

0 comments on commit d599b9d

Please sign in to comment.