Sha256: 934f75c8958205100f697bbb91c0f469814837a771073e9c574090f2b0f3fb83

Contents?: true

Size: 394 Bytes

Versions: 3

Compression:

Stored size: 394 Bytes

Contents

require File.dirname(__FILE__) + '/story_helper'

module Spec
  module Story
    describe Scenario do
      it 'should not raise an error if no body is supplied' do
        # given
        story = StoryBuilder.new.to_story

        # when
        error = exception_from do
          Scenario.new story, 'name'
        end

        # then
        error.should be_nil
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
picolena-0.1.6 rails_plugins/rspec/spec/spec/story/scenario_spec.rb
picolena-0.1.7 rails_plugins/rspec/spec/spec/story/scenario_spec.rb
picolena-0.1.8 rails_plugins/rspec/spec/spec/story/scenario_spec.rb