Skip to content

Commit

Permalink
fix rails 4 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed May 19, 2013
1 parent e79ffd4 commit e586634
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/country_select_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ class Walrus
end

let(:builder) do
FormBuilder.new(:walrus, walrus, template, {}, Proc.new { })
if defined?(Tags::Base)
FormBuilder.new(:walrus, walrus, template, {})
else
FormBuilder.new(:walrus, walrus, template, {}, Proc.new { })
end
end

describe "#country_select" do
Expand Down

0 comments on commit e586634

Please sign in to comment.