Permalink
Browse files

attempt to add travis

  • Loading branch information...
1 parent 0470716 commit 9d26619d4ef6171954b2a34011dd5331c5d55956 @stanislaw committed Jun 27, 2012
Showing with 14 additions and 2 deletions.
  1. +12 −0 .travis.yml
  2. +1 −1 Gemfile
  3. +1 −1 README.md
View
@@ -0,0 +1,12 @@
+language: ruby
+rvm:
+ - 1.8.7
+ - 1.9.3
+script: "bundle exec rspec spec"
+gemfile:
+ - Gemfile
+env:
+ - DB=sqlite
+ - DB=mysql
+before_script:
+ - "mysql -e 'create database myapp_test;' >/dev/null"
View
@@ -16,5 +16,5 @@ group :development, :test do
gem 'jeweler'
gem 'cutter'
gem 'rspec'
- gem 'factory_girl'
+ gem 'factory_girl', '2.6.4'
end
View
@@ -188,7 +188,7 @@ user.has_role?(:blogger) # => false
### Both strategies
-For each of valid role both strategies automatically define scope methods in User models:
+For each of valid role both strategies automatically define scope methods in User model:
```ruby
SimpleRoles.config.valid_roles # => [:user, :admin, :editor]

0 comments on commit 9d26619

Please sign in to comment.