Skip to content

Commit

Permalink
Remove redundant curly braces for hash parameter (style).
Browse files Browse the repository at this point in the history
  • Loading branch information
fnichol committed Aug 5, 2014
1 parent 62481d6 commit 1b59fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/emeril/releaser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
it "defaults :metadata to use MetadataChopper" do
Emeril::MetadataChopper.expects(:new).with { |path|
path =~ /#{File.join(source_path, "metadata.rb")}$/
}.returns({ :name => "c", :version => "1.0.0" })
}.returns(:name => "c", :version => "1.0.0")

Emeril::Releaser.new(:category => category, :source_path => source_path)
end
Expand Down

0 comments on commit 1b59fb7

Please sign in to comment.