Sha256: 4f68a2b841b789a7d3c0119c181b3d86b1e918b5fc8e54d5a8064d60275775f8
Contents?: true
Size: 503 Bytes
Versions: 4
Compression:
Stored size: 503 Bytes
Contents
require File.join(File.dirname(__FILE__), "test_helper") class ScenarioTest < Test::Unit::TestCase context "A Scenario" do setup do @scenario = Scenario.new("foobar", Feature("something_or_other")) {} end context "when instantiated" do context "with only a String" do setup do @scenario = Scenario.new("foobar", Feature("another")) end should "be pending" do assert(@scenario.pending?) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
coulda-0.5.3 | test/scenario_test.rb |
coulda-0.5.2 | test/scenario_test.rb |
coulda-0.5.1 | test/scenario_test.rb |
coulda-0.5.0 | test/scenario_test.rb |