fix failing on travis, and added first spec
This commit is contained in:
parent
512c949e3c
commit
38d01e9c69
|
@ -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
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
module Impressionist
|
||||
class RailsToggle
|
||||
|
||||
end
|
||||
end
|
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue