Cucumber Features

Expand All

Collapse All

@MB @setup

Feature: Installing MusicBrainz

In order to install musicbrainz_ruby
A user who generates the :install
Files must be copied.

/home/j4k4x/LastFM-test/musicbrainz_ruby/features/musicbrainz_ruby.feature:7

Scenario: Installing Static Files

  1. Given I have a rails application
    features/step_definitions/MB/rails_steps.rb:1
  2. And I run "rails generate music_brainz:install"
    features/step_definitions/MB/rails_steps.rb:95
  3. Then the file "config/initializers/musicbrainz.rb" should exist
    features/step_definitions/MB/rails_steps.rb:101
    expected exist?("/home/j4k4x/non_rails_tmp/rails_app/config/initializers/musicbrainz.rb") to return true, got false (RSpec::Expectations::ExpectationNotMetError)
    ./features/step_definitions/MB/rails_steps.rb:102:in `/^the file "([^"]*)" should exist$/'
    /home/j4k4x/LastFM-test/musicbrainz_ruby/features/musicbrainz_ruby.feature:10:in `Then the file "config/initializers/musicbrainz.rb" should exist'
    100
    101Then %r{^the file "([^"]*)" should exist$} do |file|
    102	File.should be_exist(File.join(Cukigem.app_root, file))
    103end
    104When %r{^I setup the database$} do
    105# gem install syntax to get syntax highlighting
/home/j4k4x/LastFM-test/musicbrainz_ruby/features/musicbrainz_ruby.feature:13

Scenario:

  1. Given I have a rails application
    features/step_definitions/MB/rails_steps.rb:1
  2. And I run "rails g scaffold release title:string release_date:date mbid:string type:string"
    features/step_definitions/MB/rails_steps.rb:95
  3. And I setup the database
    features/step_definitions/MB/rails_steps.rb:104