Skip to content

Commit

Permalink
Remove unnecessary class
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwynne committed Dec 28, 2014
1 parent 54a434c commit 8bd1fa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions lib/cucumber/mappings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ def with_result(result)
end
end

class Scenario < TestCase
end

class ScenarioOutlineExample < TestCase
def outline?
true
Expand All @@ -172,7 +169,7 @@ def feature(feature)
end

def scenario(scenario)
@factory = Scenario
@factory = TestCase
end

def scenario_outline(scenario)
Expand Down
2 changes: 1 addition & 1 deletion spec/cucumber/mappings_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module Cucumber
class Mappings
describe Scenario do
describe TestCase do
include Core::Gherkin::Writer
include Core
let(:ruby) { double.as_null_object }
Expand Down

0 comments on commit 8bd1fa9

Please sign in to comment.