Permalink
Browse files

Fix FIXME in tests

  • Loading branch information...
skade committed Jan 11, 2012
1 parent 959e32d commit 3b039b709c089f9ce4da47b079fccdd0dda71d6b
Showing with 4 additions and 4 deletions.
  1. +4 −4 spec/gon/gon_spec.rb
View
@@ -32,10 +32,10 @@
Sinatra::Application.instance_methods.map(&:to_s).include?('include_gon').should == true
# TODO: Make it work
- # base = Sinatra::Base.new
- # base.include_gon.should == "<script>window.gon = {};" +
- # "gon.int=1;" +
- # "</script>"
+ base = Sinatra::Base.new!
+ base.include_gon.should == "<script>window.gon = {};" +
+ "gon.int=1;" +
+ "</script>"
end
it 'returns exception if try to set public method as variable' do

0 comments on commit 3b039b7

Please sign in to comment.