cuke_modeler 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +5 -5
  3. data/Gemfile +1 -0
  4. data/History.md +9 -0
  5. data/README.md +6 -0
  6. data/Rakefile +2 -2
  7. data/cuke_modeler.gemspec +7 -6
  8. data/lib/cuke_modeler/version.rb +1 -1
  9. data/{features → testing/cucumber/features}/analysis/test_comparison.feature +0 -0
  10. data/{features → testing/cucumber/features}/modeling/background_modeling.feature +0 -0
  11. data/{features → testing/cucumber/features}/modeling/background_output.feature +0 -0
  12. data/{features → testing/cucumber/features}/modeling/cell_modeling.feature +0 -0
  13. data/{features → testing/cucumber/features}/modeling/cell_output.feature +0 -0
  14. data/{features → testing/cucumber/features}/modeling/directory_modeling.feature +0 -0
  15. data/{features → testing/cucumber/features}/modeling/directory_output.feature +0 -0
  16. data/{features → testing/cucumber/features}/modeling/doc_string_modeling.feature +0 -0
  17. data/{features → testing/cucumber/features}/modeling/doc_string_output.feature +0 -0
  18. data/{features → testing/cucumber/features}/modeling/example_modeling.feature +0 -0
  19. data/{features → testing/cucumber/features}/modeling/example_output.feature +0 -0
  20. data/{features → testing/cucumber/features}/modeling/feature_file_modeling.feature +0 -0
  21. data/{features → testing/cucumber/features}/modeling/feature_file_output.feature +0 -0
  22. data/{features → testing/cucumber/features}/modeling/feature_modeling.feature +0 -0
  23. data/{features → testing/cucumber/features}/modeling/feature_output.feature +0 -0
  24. data/{features → testing/cucumber/features}/modeling/model_output.feature +0 -0
  25. data/{features → testing/cucumber/features}/modeling/model_structure.feature +0 -0
  26. data/{features → testing/cucumber/features}/modeling/outline_modeling.feature +0 -0
  27. data/{features → testing/cucumber/features}/modeling/outline_output.feature +0 -0
  28. data/{features → testing/cucumber/features}/modeling/row_modeling.feature +0 -0
  29. data/{features → testing/cucumber/features}/modeling/row_output.feature +0 -0
  30. data/{features → testing/cucumber/features}/modeling/scenario_modeling.feature +0 -0
  31. data/{features → testing/cucumber/features}/modeling/scenario_output.feature +0 -0
  32. data/{features → testing/cucumber/features}/modeling/step_modeling.feature +0 -0
  33. data/{features → testing/cucumber/features}/modeling/step_output.feature +0 -0
  34. data/{features → testing/cucumber/features}/modeling/table_modeling.feature +0 -0
  35. data/{features → testing/cucumber/features}/modeling/table_output.feature +0 -0
  36. data/{features → testing/cucumber/features}/modeling/tag_modeling.feature +0 -0
  37. data/{features → testing/cucumber/features}/modeling/tag_output.feature +0 -0
  38. data/{features → testing/cucumber}/step_definitions/action_steps.rb +0 -0
  39. data/{features → testing/cucumber}/step_definitions/background_steps.rb +0 -0
  40. data/{features → testing/cucumber}/step_definitions/directory_steps.rb +0 -0
  41. data/{features → testing/cucumber}/step_definitions/doc_string_steps.rb +0 -0
  42. data/{features → testing/cucumber}/step_definitions/feature_file_steps.rb +0 -0
  43. data/{features → testing/cucumber}/step_definitions/feature_steps.rb +0 -0
  44. data/{features → testing/cucumber}/step_definitions/modeling_steps.rb +0 -0
  45. data/{features → testing/cucumber}/step_definitions/setup_steps.rb +0 -0
  46. data/{features → testing/cucumber}/step_definitions/step_steps.rb +0 -0
  47. data/{features → testing/cucumber}/step_definitions/table_steps.rb +0 -0
  48. data/{features → testing/cucumber}/step_definitions/tag_steps.rb +0 -0
  49. data/{features → testing/cucumber}/step_definitions/verification_steps.rb +0 -0
  50. data/{features → testing/cucumber}/support/env.rb +1 -1
  51. data/{features → testing/cucumber}/support/transforms.rb +0 -0
  52. data/{gemfiles → testing/gemfiles}/gherkin2.gemfile +2 -1
  53. data/{gemfiles → testing/gemfiles}/gherkin3.gemfile +2 -1
  54. data/{gemfiles → testing/gemfiles}/gherkin4.gemfile +2 -1
  55. data/{spec → testing/rspec/spec}/integration/background_integration_spec.rb +1 -1
  56. data/{spec → testing/rspec/spec}/integration/cell_integration_spec.rb +1 -1
  57. data/{spec → testing/rspec/spec}/integration/directory_integration_spec.rb +1 -1
  58. data/{spec → testing/rspec/spec}/integration/doc_string_integration_spec.rb +1 -1
  59. data/{spec → testing/rspec/spec}/integration/example_integration_spec.rb +2 -2
  60. data/{spec → testing/rspec/spec}/integration/feature_file_integration_spec.rb +1 -1
  61. data/{spec → testing/rspec/spec}/integration/feature_integration_spec.rb +1 -1
  62. data/{spec → testing/rspec/spec}/integration/gherkin_2_adapter_spec.rb +1 -1
  63. data/{spec → testing/rspec/spec}/integration/gherkin_3_adapter_spec.rb +1 -1
  64. data/{spec → testing/rspec/spec}/integration/gherkin_4_adapter_spec.rb +1 -1
  65. data/{spec → testing/rspec/spec}/integration/model_integration_spec.rb +1 -1
  66. data/{spec → testing/rspec/spec}/integration/nested_integration_spec.rb +1 -1
  67. data/{spec → testing/rspec/spec}/integration/outline_integration_spec.rb +1 -1
  68. data/{spec → testing/rspec/spec}/integration/parsing_integration_spec.rb +1 -1
  69. data/{spec → testing/rspec/spec}/integration/row_integration_spec.rb +1 -1
  70. data/{spec → testing/rspec/spec}/integration/scenario_integration_spec.rb +1 -1
  71. data/{spec → testing/rspec/spec}/integration/shared/models_integration_specs.rb +1 -1
  72. data/{spec → testing/rspec/spec}/integration/step_integration_spec.rb +1 -1
  73. data/{spec → testing/rspec/spec}/integration/table_integration_spec.rb +5 -5
  74. data/{spec → testing/rspec/spec}/integration/tag_integration_spec.rb +4 -4
  75. data/{spec → testing/rspec/spec}/spec_helper.rb +3 -3
  76. data/{spec → testing/rspec/spec}/unit/background_unit_spec.rb +1 -1
  77. data/{spec → testing/rspec/spec}/unit/cell_unit_spec.rb +1 -1
  78. data/{spec → testing/rspec/spec}/unit/described_unit_spec.rb +1 -1
  79. data/{spec → testing/rspec/spec}/unit/directory_unit_spec.rb +1 -1
  80. data/{spec → testing/rspec/spec}/unit/doc_string_unit_spec.rb +1 -1
  81. data/{spec → testing/rspec/spec}/unit/example_unit_spec.rb +1 -1
  82. data/{spec → testing/rspec/spec}/unit/feature_file_unit_spec.rb +1 -1
  83. data/{spec → testing/rspec/spec}/unit/feature_unit_spec.rb +1 -1
  84. data/{spec → testing/rspec/spec}/unit/model_unit_spec.rb +1 -1
  85. data/{spec → testing/rspec/spec}/unit/named_unit_spec.rb +1 -1
  86. data/{spec → testing/rspec/spec}/unit/nested_unit_spec.rb +1 -1
  87. data/{spec → testing/rspec/spec}/unit/outline_unit_spec.rb +1 -1
  88. data/{spec → testing/rspec/spec}/unit/parsed_unit_spec.rb +1 -1
  89. data/{spec → testing/rspec/spec}/unit/parsing_unit_spec.rb +1 -1
  90. data/{spec → testing/rspec/spec}/unit/row_unit_spec.rb +1 -1
  91. data/{spec → testing/rspec/spec}/unit/scenario_unit_spec.rb +1 -1
  92. data/{spec → testing/rspec/spec}/unit/shared/bare_bones_models_unit_specs.rb +1 -1
  93. data/{spec → testing/rspec/spec}/unit/shared/containing_models_unit_specs.rb +1 -1
  94. data/{spec → testing/rspec/spec}/unit/shared/described_models_unit_specs.rb +1 -1
  95. data/{spec → testing/rspec/spec}/unit/shared/models_unit_specs.rb +1 -1
  96. data/{spec → testing/rspec/spec}/unit/shared/named_models_unit_specs.rb +1 -1
  97. data/{spec → testing/rspec/spec}/unit/shared/nested_models_unit_specs.rb +1 -1
  98. data/{spec → testing/rspec/spec}/unit/shared/parsed_models_unit_specs.rb +1 -1
  99. data/{spec → testing/rspec/spec}/unit/shared/prepopulated_models_unit_specs.rb +1 -1
  100. data/{spec → testing/rspec/spec}/unit/shared/sourced_models_unit_specs.rb +1 -1
  101. data/{spec → testing/rspec/spec}/unit/shared/stepped_models_unit_specs.rb +1 -1
  102. data/{spec → testing/rspec/spec}/unit/shared/stringifiable_models_unit_specs.rb +1 -1
  103. data/{spec → testing/rspec/spec}/unit/shared/tagged_models_unit_specs.rb +1 -1
  104. data/{spec → testing/rspec/spec}/unit/sourceable_unit_spec.rb +1 -1
  105. data/{spec → testing/rspec/spec}/unit/step_unit_spec.rb +1 -1
  106. data/{spec → testing/rspec/spec}/unit/stepped_unit_spec.rb +1 -1
  107. data/{spec → testing/rspec/spec}/unit/table_unit_spec.rb +1 -1
  108. data/{spec → testing/rspec/spec}/unit/tag_unit_spec.rb +1 -1
  109. data/{spec → testing/rspec/spec}/unit/taggable_unit_spec.rb +1 -1
  110. data/todo.txt +0 -1
  111. metadata +135 -222
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da3b1aed057251e7c6513b83c294cb27705319a4
4
- data.tar.gz: af14c32fc742dd5688239503ae94b6cd9f42f9f6
3
+ metadata.gz: 58018508ad6c8e92c5f11d7a75e5eb88681ea709
4
+ data.tar.gz: 3bbd167d559734e03ee8fbb0cf763a6693942070
5
5
  SHA512:
6
- metadata.gz: 4e5e864536c3d4e488bec100864289e39a339e4c24deb07c1635ce24ba09bee4f003829f07aa7172a0d7ff1cf7a997670a715d3f746e25a3192ff9fff16c0d72
7
- data.tar.gz: 5ce9dafbb2f20e00ddafa59c25654041716d0db6f943dccf48e85a1504e77a6f211d432853a8408771b93e3dbb639e108ff4e87073c08d191518e45af49c2ec8
6
+ metadata.gz: f6328f76ee336f40fb21a6ebd959bd2bcf2db7660ceaebfb818d5c1957efa1e2c9dc823e42229c0b4022e8db4d5148da46e7cf94177b5c62d5b2bae4be9eb1ef
7
+ data.tar.gz: 8effa843394cd3d9e12d2215e1abc65efd8de06bb259519a49d9219ed2050c1a1c8e47008d7f2cb654d38a21bd01b730367dbad30027318f22a06016094c5831
@@ -7,17 +7,17 @@ rvm:
7
7
  - 2.2.2
8
8
 
9
9
  gemfile:
10
- - gemfiles/gherkin2.gemfile
11
- - gemfiles/gherkin3.gemfile
12
- - gemfiles/gherkin4.gemfile
10
+ - testing/gemfiles/gherkin2.gemfile
11
+ - testing/gemfiles/gherkin3.gemfile
12
+ - testing/gemfiles/gherkin4.gemfile
13
13
 
14
14
 
15
15
  matrix:
16
16
  exclude:
17
17
  - rvm: 1.8.7
18
- gemfile: gemfiles/gherkin3.gemfile
18
+ gemfile: testing/gemfiles/gherkin3.gemfile
19
19
  - rvm: 1.8.7
20
- gemfile: gemfiles/gherkin4.gemfile
20
+ gemfile: testing/gemfiles/gherkin4.gemfile
21
21
 
22
22
  # todo - Remove this once TravisCI fixes their bundler issue (https://github.com/alphagov/govuk_template/pull/186)
23
23
  before_install:
data/Gemfile CHANGED
@@ -16,6 +16,7 @@ end
16
16
 
17
17
  if RUBY_VERSION =~ /^1\./
18
18
  gem 'tins', '< 1.7' # The 'tins' gem requires Ruby 2.x on/after this version
19
+ gem 'json', '< 2.0' # The 'json' gem drops pre-Ruby 2.x support on/after this version
19
20
  end
20
21
 
21
22
  if RUBY_VERSION =~ /^2\./
data/History.md CHANGED
@@ -1,3 +1,12 @@
1
+ ### Version 1.0.2 / 2016-09-12
2
+
3
+ * A more detailed gem description and summary have been added to the gemspec.
4
+
5
+ * The gem now declares version limits on its dependencies.
6
+
7
+ * Badges for the current status of the project have been added to the Readme.
8
+
9
+
1
10
  ### Version 1.0.1 / 2016-09-10
2
11
 
3
12
  * In the Readme file, added a link to the published documentation.
data/README.md CHANGED
@@ -1,3 +1,9 @@
1
+ [![Gem Version](https://badge.fury.io/rb/cuke_modeler.svg)](https://rubygems.org/gems/cuke_modeler)
2
+ [![Build Status](https://travis-ci.org/enkessler/cuke_modeler.svg?branch=dev)](https://travis-ci.org/enkessler/cuke_modeler)
3
+ [![Dependency Status](https://gemnasium.com/enkessler/cuke_modeler.svg)](https://gemnasium.com/enkessler/cuke_modeler)
4
+
5
+
6
+
1
7
  # CukeModeler
2
8
 
3
9
  There comes a time in every programmer's adventures with Cucumber when they
data/Rakefile CHANGED
@@ -25,8 +25,8 @@ namespace 'cuke_modeler' do
25
25
 
26
26
  desc 'Test gem based on Ruby/dependency versions'
27
27
  task :smart_test do |t, args|
28
- rspec_args = '--tag ~@wip'
29
- cucumber_args = '-f progress -t ~@wip'
28
+ rspec_args = '--tag ~@wip --pattern testing/rspec/spec/**/*_spec.rb'
29
+ cucumber_args = 'testing/cucumber/features -r testing/cucumber/support -r testing/cucumber/step_definitions -f progress -t ~@wip'
30
30
 
31
31
  Rake::Task['cuke_modeler:test_everything'].invoke(rspec_args, cucumber_args)
32
32
  end
@@ -8,7 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = CukeModeler::VERSION
9
9
  spec.authors = ["Eric Kessler"]
10
10
  spec.email = ["morrow748@gmail.com"]
11
- spec.summary = %q{A gem providing functionality to model a Cucumber test suite.}
11
+ spec.summary = %q{A gem providing functionality to model Gherkin based test suites.}
12
+ spec.description = %q{This gem facilitates modeling a test suite that is written in Gherkin (e.g. Cucumber, SpecFlow, Lettuce, etc.). It does this by providing an abstraction layer on top of the Abstract Syntax Tree that the 'gherkin' gem generates when parsing features, as well as providing models for feature files and directories in order to be able to have a fully traversable model tree of a test suite's structure. These models can then be analyzed or manipulated more easily than the underlying AST layer.}
12
13
  spec.homepage = 'https://github.com/enkessler/cuke_modeler'
13
14
  spec.license = "MIT"
14
15
 
@@ -18,14 +19,14 @@ Gem::Specification.new do |spec|
18
19
  spec.require_paths = ["lib"]
19
20
 
20
21
  spec.add_runtime_dependency 'gherkin', '< 5.0'
21
- spec.add_runtime_dependency('json', '~> 1.0')
22
+ spec.add_runtime_dependency('json', '>= 1.0', '<= 3.0')
22
23
  spec.add_runtime_dependency('multi_json', '~> 1.0')
23
24
 
24
25
  spec.add_development_dependency "bundler", "~> 1.5"
25
- spec.add_development_dependency "rake"
26
- spec.add_development_dependency 'cucumber'
26
+ spec.add_development_dependency "rake", '< 12.0.0'
27
+ spec.add_development_dependency 'cucumber', '< 3.0.0'
27
28
  spec.add_development_dependency 'rspec', '~> 3.0'
28
- spec.add_development_dependency 'simplecov'
29
+ spec.add_development_dependency 'simplecov', '< 1.0.0'
29
30
  spec.add_development_dependency 'racatt', '~> 1.0'
30
- spec.add_development_dependency 'coveralls'
31
+ spec.add_development_dependency 'coveralls', '< 1.0.0'
31
32
  end
@@ -1,4 +1,4 @@
1
1
  module CukeModeler
2
2
  # The gem version
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
@@ -8,7 +8,7 @@ include Test::Unit::Assertions
8
8
 
9
9
  this_dir = File.dirname(__FILE__)
10
10
 
11
- require "#{this_dir}/../../lib/cuke_modeler"
11
+ require "#{this_dir}/../../../lib/cuke_modeler"
12
12
 
13
13
 
14
14
  Before do
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gemspec :path => "../"
3
+ gemspec :path => "../../"
4
4
  gem "gherkin", "< 3.0.0"
5
5
 
6
6
  # cuke_modeler can play with pretty much any version of these but they all play differently with Ruby
@@ -15,6 +15,7 @@ end
15
15
 
16
16
  if RUBY_VERSION =~ /^1\./
17
17
  gem 'tins', '< 1.7' # The 'tins' gem requires Ruby 2.x on/after this version
18
+ gem 'json', '< 2.0' # The 'json' gem drops pre-Ruby 2.x support on/after this version
18
19
  end
19
20
 
20
21
  if RUBY_VERSION =~ /^2\.[23456789]/
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gemspec :path => "../"
3
+ gemspec :path => "../../"
4
4
  gem "gherkin", "~> 3.0"
5
5
 
6
6
  # cuke_modeler can play with pretty much any version of these but they all play differently with Ruby
@@ -13,6 +13,7 @@ end
13
13
 
14
14
  if RUBY_VERSION =~ /^1\./
15
15
  gem 'tins', '< 1.7' # The 'tins' gem requires Ruby 2.x on/after this version
16
+ gem 'json', '< 2.0' # The 'json' gem drops pre-Ruby 2.x support on/after this version
16
17
  end
17
18
 
18
19
  if RUBY_VERSION =~ /^2\.[23456789]/
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gemspec :path => "../"
3
+ gemspec :path => "../../"
4
4
  gem "gherkin", "~> 4.0"
5
5
 
6
6
  # cuke_modeler can play with pretty much any version of these but they all play differently with Ruby
@@ -13,6 +13,7 @@ end
13
13
 
14
14
  if RUBY_VERSION =~ /^1\./
15
15
  gem 'tins', '< 1.7' # The 'tins' gem requires Ruby 2.x on/after this version
16
+ gem 'json', '< 2.0' # The 'json' gem drops pre-Ruby 2.x support on/after this version
16
17
  end
17
18
 
18
19
  if RUBY_VERSION =~ /^2\.[23456789]/
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Background, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Cell, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Directory, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'DocString, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Example, Integration' do
@@ -462,7 +462,7 @@ describe 'Example, Integration' do
462
462
  | param |
463
463
  | value |'
464
464
 
465
- file_path = "#{@default_file_directory}/step_test_file.feature"
465
+ file_path = "#{@default_file_directory}/example_test_file.feature"
466
466
  File.open(file_path, 'w') { |file| file.write(source) }
467
467
  end
468
468
 
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'FeatureFile, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Feature, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Gherkin2Adapter, Integration', :gherkin2 => true do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Gherkin3Adapter, Integration', :gherkin3 => true do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Gherkin4Adapter, Integration', :gherkin4 => true do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Model, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Nested, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Outline, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Parsing, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Row, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Scenario, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../../spec_helper"
2
2
 
3
3
  shared_examples_for 'a model, integration' do
4
4
 
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Step, Integration' do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Table, Integration' do
@@ -111,7 +111,7 @@ describe 'Table, Integration' do
111
111
  ' | a | table |']
112
112
  source = source.join("\n")
113
113
 
114
- file_path = "#{@default_file_directory}/table_row_test_file.feature"
114
+ file_path = "#{@default_file_directory}/table_test_file.feature"
115
115
  File.open(file_path, 'w') { |file| file.write(source) }
116
116
  end
117
117
 
@@ -146,7 +146,7 @@ describe 'Table, Integration' do
146
146
  * a step:
147
147
  | a | table |'
148
148
 
149
- file_path = "#{@default_file_directory}/doc_string_test_file.feature"
149
+ file_path = "#{@default_file_directory}/table_test_file.feature"
150
150
  File.open(file_path, 'w') { |file| file.write(source) }
151
151
  end
152
152
 
@@ -174,7 +174,7 @@ describe 'Table, Integration' do
174
174
  | param |
175
175
  | value |'
176
176
 
177
- file_path = "#{@default_file_directory}/doc_string_test_file.feature"
177
+ file_path = "#{@default_file_directory}/table_test_file.feature"
178
178
  File.open(file_path, 'w') { |file| file.write(source) }
179
179
  end
180
180
 
@@ -199,7 +199,7 @@ describe 'Table, Integration' do
199
199
  * a step:
200
200
  | a | table |'
201
201
 
202
- file_path = "#{@default_file_directory}/doc_string_test_file.feature"
202
+ file_path = "#{@default_file_directory}/table_test_file.feature"
203
203
  File.open(file_path, 'w') { |file| file.write(source) }
204
204
  end
205
205
 
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "#{File.dirname(__FILE__)}/../spec_helper"
2
2
 
3
3
 
4
4
  describe 'Tag, Integration' do
@@ -102,7 +102,7 @@ describe 'Tag, Integration' do
102
102
  Scenario: Test scenario
103
103
  * a step'
104
104
 
105
- file_path = "#{@default_file_directory}/step_test_file.feature"
105
+ file_path = "#{@default_file_directory}/tag_test_file.feature"
106
106
  File.open(file_path, 'w') { |file| file.write(source) }
107
107
  end
108
108
 
@@ -130,7 +130,7 @@ describe 'Tag, Integration' do
130
130
  | param |
131
131
  | value |'
132
132
 
133
- file_path = "#{@default_file_directory}/step_test_file.feature"
133
+ file_path = "#{@default_file_directory}/tag_test_file.feature"
134
134
  File.open(file_path, 'w') { |file| file.write(source) }
135
135
  end
136
136
 
@@ -157,7 +157,7 @@ describe 'Tag, Integration' do
157
157
  Examples:
158
158
  | param |
159
159
  | value |'
160
- file_path = "#{@default_file_directory}/step_test_file.feature"
160
+ file_path = "#{@default_file_directory}/tag_test_file.feature"
161
161
  File.open(file_path, 'w') { |file| file.write(source) }
162
162
  end
163
163