Permalink
Browse files

Make tests use require 'spec_helper'

  • Loading branch information...
1 parent dd5d4f8 commit 480e559090278cb20bf2f237ed0f8897af1840ca @yabawock yabawock committed Jul 17, 2010
View
2 spec/buttons_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
describe 'SemanticFormBuilder#buttons' do
View
2 spec/commit_button_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
describe 'SemanticFormBuilder#commit_button' do
View
2 spec/custom_builder_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
describe 'Formtastic::SemanticFormHelper.builder' do
View
2 spec/defaults_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.join(File.dirname(__FILE__), *%w[spec_helper])
+require 'spec_helper'
describe 'Formtastic::SemanticFormBuilder-defaults' do
View
2 spec/error_proc_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
describe 'Rails field_error_proc' do
View
2 spec/errors_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
describe 'SemanticFormBuilder#errors_on' do
View
2 spec/form_helper_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
describe 'SemanticFormHelper' do
View
2 spec/i18n_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.join(File.dirname(__FILE__), *%w[spec_helper])
+require 'spec_helper'
describe 'Formtastic::I18n' do
View
2 spec/include_blank_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
describe "*select: options[:include_blank]" do
View
2 spec/input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
describe 'SemanticFormBuilder#input' do
View
2 spec/inputs/boolean_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'boolean input' do
View
2 spec/inputs/check_boxes_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'check_boxes input' do
View
2 spec/inputs/country_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'country input' do
View
2 spec/inputs/date_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'date input' do
View
2 spec/inputs/datetime_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'datetime input' do
View
2 spec/inputs/file_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'file input' do
View
2 spec/inputs/hidden_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'hidden input' do
View
2 spec/inputs/numeric_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'numeric input' do
View
2 spec/inputs/password_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'password input' do
View
2 spec/inputs/radio_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'radio input' do
View
2 spec/inputs/select_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'select input' do
View
2 spec/inputs/string_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'string input' do
View
2 spec/inputs/text_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'text input' do
View
2 spec/inputs/time_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'time input' do
View
2 spec/inputs/time_zone_input_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe 'time_zone input' do
View
2 spec/inputs_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
describe 'SemanticFormBuilder#inputs' do
View
2 spec/label_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
describe 'SemanticFormBuilder#label' do
View
2 spec/semantic_errors_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
describe 'SemanticFormBuilder#semantic_errors' do
View
2 spec/semantic_fields_for_spec.rb
@@ -1,5 +1,5 @@
# coding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
describe 'SemanticFormBuilder#semantic_fields_for' do

0 comments on commit 480e559

Please sign in to comment.