Sha256: 331ed89610e778e0e3b0e9136a6590df062e9f05bc894b570caa988b85e5c46c

Contents?: true

Size: 389 Bytes

Versions: 39

Compression:

Stored size: 389 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 { Scenario.new story, 'name' }
        
        # then
        error.should be_nil
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 10 rubygems

Version Path
dchelimsky-rspec-1.1.10 spec/spec/story/scenario_spec.rb
dchelimsky-rspec-1.1.11.1 spec/spec/story/scenario_spec.rb
dchelimsky-rspec-1.1.11.2 spec/spec/story/scenario_spec.rb
dchelimsky-rspec-1.1.11.3 spec/spec/story/scenario_spec.rb
dchelimsky-rspec-1.1.11.4 spec/spec/story/scenario_spec.rb
dchelimsky-rspec-1.1.11.5 spec/spec/story/scenario_spec.rb
dchelimsky-rspec-1.1.11.6 spec/spec/story/scenario_spec.rb
dchelimsky-rspec-1.1.11.7 spec/spec/story/scenario_spec.rb
dchelimsky-rspec-1.1.11 spec/spec/story/scenario_spec.rb
dchelimsky-rspec-stories-1.0.0 spec/spec/story/scenario_spec.rb
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec/spec/spec/story/scenario_spec.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec/spec/spec/story/scenario_spec.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec/spec/spec/story/scenario_spec.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec/spec/spec/story/scenario_spec.rb
samstokes-rspec-stories-1.0.1 spec/spec/story/scenario_spec.rb
samstokes-rspec-stories-1.0.2 spec/spec/story/scenario_spec.rb
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/scenario_spec.rb
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/scenario_spec.rb
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/scenario_spec.rb
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/scenario_spec.rb