Skip to content

Commit

Permalink
Spec for issue #657 to avoid regression
Browse files Browse the repository at this point in the history
  • Loading branch information
sobrinho committed Aug 19, 2011
1 parent a95479e commit c64f967
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/builder/custom_builder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ def to_html
end
end

# See: https://github.com/justinfrench/formtastic/issues/657
it "should not conflict with navigasmic" do
stub!(:builder).and_return('navigasmic')

lambda { semantic_form_for(@new_post) }.should_not raise_error(NoMethodError)
end

end

describe "fields_for" do
Expand Down

0 comments on commit c64f967

Please sign in to comment.