fix failing on travis, and added first spec

This commit is contained in:
Antonio C Nalesso Moreira 2013-07-11 04:09:58 +01:00
parent 512c949e3c
commit 38d01e9c69
4 changed files with 15 additions and 2 deletions

View File

@ -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

View File

@ -0,0 +1,5 @@
module Impressionist
class RailsToggle
end
end

Binary file not shown.

View File

@ -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