This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'spree' | |
gem "rspec-rails", :group => [ :development, :test ] | |
gem "factory_girl_rails", :group => [:test] | |
run 'bundle install' | |
remove_dir 'test' | |
generate 'rspec:install' | |
create_file 'spec/factories.rb' do | |
%q{FactoryGirl.define do | |
factory :user do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
validates :url, :presence => true, | |
:format => { :with => URI::regexp(%w(http https)) }, | |
:uniqueness => true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'devise' | |
gem "rspec-rails", :group => [ :development, :test ] | |
gem "factory_girl_rails", :group => [:test] | |
run 'bundle install' | |
generate "devise:install" | |
generate "devise", "User" | |
rake "db:migrate", :env => 'development' | |
rake "db:migrate", :env => 'test' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Processing by Admin::ConfigurationsController#index as HTML | |
SpreeMultiStoreConfiguration Load (0.2ms) SELECT "configurations".* FROM "configurations" WHERE "configurations"."type" IN ('SpreeMultiStoreConfiguration') AND "configurations"."name" = 'Default spree_multi_store configuration' LIMIT 1 | |
CACHE (0.0ms) SELECT "configurations".* FROM "configurations" WHERE "configurations"."type" IN ('SpreeMultiStoreConfiguration') AND "configurations"."name" = 'Default spree_multi_store configuration' LIMIT 1 | |
Store Load (0.2ms) SELECT "stores".* FROM "stores" WHERE (subdomain = 'store1') LIMIT 1 | |
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1057526567 LIMIT 1 | |
Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_users" ON "roles"."id" = "roles_users"."role_id" WHERE "roles_users"."user_id" = 1057526567 | |
Property Load (0.1ms) SELECT "properties".* FROM "properties" WHERE "properties"."name" = 'brand' LIMIT 1 | |
Rendered /Users/cmar/.rvm/gems/ruby-1.8.7-p352/bundler/gems/sp |
NewerOlder