diff --git a/.travis.yml b/.travis.yml index 4ff354f..4434831 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: ruby bundler_args: '--binstubs --without documentation' before_install: gem install bundler -before_script: "cd test_app && bundle install && ./script/rails generate impressionist -f && rake db:migrate && cd .." +before_script: "cd tests/test_app && bundle install && ./script/rails generate impressionist -f && rake db:migrate && cd .." rvm: - rbx-18mode diff --git a/lib/impressionist/rails_toggle.rb b/lib/impressionist/rails_toggle.rb new file mode 100644 index 0000000..25b1d07 --- /dev/null +++ b/lib/impressionist/rails_toggle.rb @@ -0,0 +1,5 @@ +module Impressionist + class RailsToggle + + end +end diff --git a/tests/spec/.rails_toggle_spec.rb.swp b/tests/spec/.rails_toggle_spec.rb.swp new file mode 100644 index 0000000..1625b19 Binary files /dev/null and b/tests/spec/.rails_toggle_spec.rb.swp differ diff --git a/tests/spec/rails_toggle_spec.rb b/tests/spec/rails_toggle_spec.rb index 9f880dd..330e63d 100644 --- a/tests/spec/rails_toggle_spec.rb +++ b/tests/spec/rails_toggle_spec.rb @@ -1,4 +1,12 @@ # Responsability # Test whether rails version > 4 # includes attr_accessible if < 4 -require "test_helper.rb" +require 'test_helper.rb' +require 'impressionist/rails_toggle' + +module Impressionist + describe RailsToggle do + + end + +end