Permalink
Browse files

Fixing spec warning, adding autotest opts

  • Loading branch information...
1 parent 70755b4 commit 3ce445d12002c9731e7dfd78d565e2eb12d7a8c1 @jgdavey jgdavey committed with Oct 25, 2009
Showing with 5 additions and 3 deletions.
  1. +3 −3 spec/commit_button_spec.rb
  2. +2 −0 spec/spec.opts
@@ -130,7 +130,7 @@
describe 'when explicit label is provided' do
it 'should render an input with the explicitly specified label' do
semantic_form_for(:post, :url => 'http://example.com') do |builder|
- concat(builder.commit_button "Click!")
+ concat(builder.commit_button("Click!"))
end
output_buffer.should have_tag('li.commit input[@value="Click!"][@class~="submit"]')
end
@@ -203,7 +203,7 @@
describe 'when explicit label is provided' do
it 'should render an input with the explicitly specified label' do
semantic_form_for(@new_post) do |builder|
- concat(builder.commit_button "Click!")
+ concat(builder.commit_button("Click!"))
end
output_buffer.should have_tag('li.commit input[@value="Click!"][@class~="create"]')
end
@@ -276,7 +276,7 @@
describe 'when explicit label is provided' do
it 'should render an input with the explicitly specified label' do
semantic_form_for(@new_post) do |builder|
- concat(builder.commit_button "Click!")
+ concat(builder.commit_button("Click!"))
end
output_buffer.should have_tag('li.commit input[@value="Click!"][@class~="update"]')
end
View
@@ -0,0 +1,2 @@
+--color
+--format=progress

0 comments on commit 3ce445d

Please sign in to comment.