diff --git a/spec/lib/bootstrap_forms/form_builder_spec.rb b/spec/lib/bootstrap_forms/form_builder_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/bootstrap_forms/form_builder_spec.rb
+++ b/spec/lib/bootstrap_forms/form_builder_spec.rb
@@ -97,7 +97,7 @@ describe 'BootstrapForms::FormBuilder' do
       end
       
       it "does not add the required attribute if required: false" do
-        @builder.text_field('owner', required: false).should_not match /<input .*required="required"/
+        @builder.text_field('owner', :required => false).should_not match /<input .*required="required"/
       end
       
       it "not require if or unless validators" do
use hashrockets for < Ruby <I>