Skip to content

Commit

Permalink
Fix spec for ruby 1.8 needing rocket style hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Feb 7, 2014
1 parent 2ca41a3 commit decf90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/opal/stdlib/erb/erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
describe "locals" do
it "can be passed to a compiled template" do
def self.non_local; 'Ford'; end
@with_locals.render(self, {is_local: 'Prefect'}).should == "Ford Prefect\n"
@with_locals.render(self, {:is_local => 'Prefect'}).should == "Ford Prefect\n"
end
end
end

0 comments on commit decf90a

Please sign in to comment.