This file contains hidden or 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
| unknown attribute: domain_id (ActiveRecord::UnknownAttributeError) | |
| ./app/controllers/keywords_controller.rb:4:in `new' | |
| (eval):2:in `click_link' | |
| ./features/step_definitions/web_steps.rb:57:in `/^(?:|I )follow "([^"]*)"$/' | |
| features/domains/manage_domain_keywords.feature:13:in `When I follow "New keyword"' | |
| Failing Scenarios: | |
| cucumber features/domains/manage_domain_keywords.feature:8 # Scenario: Add a new keyword to a domain |
This file contains hidden or 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
| ActiveRecord::Schema.define(:version => 20110924001800) do | |
| create_table "domains", :force => true do |t| | |
| t.string "name" | |
| t.string "url" | |
| t.datetime "created_at" | |
| t.datetime "updated_at" | |
| end | |
| create_table "domains_keywords", :force => true do |t| |
This file contains hidden or 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
| Scenario: Get results for keywords | |
| Given the following domains exist: | |
| | name | url | | |
| | Telrepco | http://telrepco.com | | |
| And the following keywords exist for "Telrepco": | |
| | term | | |
| | panasonic toughbooks | | |
| | toughbook repair | | |
| | gorilla suits | | |
| And I am on the show domain page for "Telrepco" |
This file contains hidden or 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
| When /^I press "Get results" for keyword "(.*)" for domain "(.*)"$/ do |keyword_term, domain_name| | |
| @domain = Domain.find_by_name(domain_name) | |
| @keyword = @domain.keywords.find_by_term(keyword_term) | |
| click_link("get_results_keyword_#{@keyword.id}") | |
| end |
This file contains hidden or 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
| require 'spec_helper' | |
| describe DomainsController do | |
| render_views | |
| before(:each) do | |
| @domain = Factory.create(:domain) | |
| end | |
| context "#update_keyword_data" do |
This file contains hidden or 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
| --> spree exension foofah | |
| /Users/eric/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:900:in `report_activate_error': Could not find RubyGem spree (>= 0) (Gem::LoadError) | |
| from /Users/eric/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:248:in `activate' | |
| from /Users/eric/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:1276:in `gem' | |
| from /Users/eric/.rvm/gems/ruby-1.9.2-p290@spree-0.70.0/bin/spree:18:in `<main>' |
This file contains hidden or 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
| *** LOCAL GEMS *** | |
| spree_api (0.70.RC1) | |
| spree_auth (0.70.RC1) | |
| spree_core (0.70.RC1, 0.40.0) | |
| spree_dash (0.70.RC1) | |
| spree_promo (0.70.RC1) | |
| spree_sample (0.70.RC1, 0.40.0) |
This file contains hidden or 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
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@spree-0.70.0/gems/bundler-1.0.18/lib/bundler/definition.rb:14:in `build': /Users/eric/Dropbox/Rails/spree_import_variants/Gemfile not found (Bundler::GemfileNotFound) | |
| from /Users/eric/.rvm/gems/ruby-1.9.2-p290@spree-0.70.0/gems/bundler-1.0.18/lib/bundler.rb:136:in `definition' | |
| from /Users/eric/.rvm/gems/ruby-1.9.2-p290@spree-0.70.0/gems/bundler-1.0.18/lib/bundler.rb:124:in `load' | |
| from /Users/eric/.rvm/gems/ruby-1.9.2-p290@spree-0.70.0/gems/bundler-1.0.18/lib/bundler.rb:107:in `setup' | |
| from /Users/eric/Dropbox/Rails/spree_import_variants/spec/dummy/config/boot.rb:6:in `<top (required)>' | |
| from /Users/eric/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
| from /Users/eric/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
| from /Users/eric/Dropbox/Rails/spree_import_variants/spec/dummy/config/application.rb:1:in `<top (required)>' | |
| from /Users/eric/.rvm/rubies/ruby-1.9.2-p290/lib/r |
This file contains hidden or 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
| eric: /Users/eric/dropbox/rails/spree_import_variants | |
| --> rspec spec | |
| /Users/eric/.rvm/gems/ruby-1.9.2-p290@spree-0.70.0/gems/bundler-1.0.18/lib/bundler/definition.rb:14:in `build': /Users/eric/Dropbox/Rails/spree_import_variants/Gemfile not found (Bundler::GemfileNotFound) | |
| from /Users/eric/.rvm/gems/ruby-1.9.2-p290@spree-0.70.0/gems/bundler-1.0.18/lib/bundler.rb:136:in `definition' | |
| from /Users/eric/.rvm/gems/ruby-1.9.2-p290@spree-0.70.0/gems/bundler-1.0.18/lib/bundler.rb:124:in `load' | |
| from /Users/eric/.rvm/gems/ruby-1.9.2-p290@spree-0.70.0/gems/bundler-1.0.18/lib/bundler.rb:107:in `setup' | |
| from /Users/eric/Dropbox/Rails/spree_import_variants/spec/dummy/config/boot.rb:6:in `<top (required)>' | |
| from /Users/eric/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
| from /Users/eric/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
| from /Users/eric/Dropbox/Rails/spree_import_variants/spec/dummy/config/application.rb:1:in ` |
This file contains hidden or 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
| # blog.rb | |
| require 'rubygems' | |
| require 'bundler/setup' | |
| require 'sinatra/base' | |
| class Blog < Sinatra::Base | |
| get '/' do | |
| "Hello World!" |