acceptance_test 1.9.8 → 1.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.idea/acceptance_test.iml +88 -52
- data/.ruby-version +1 -1
- data/CHANGES +5 -1
- data/Gemfile +8 -5
- data/Gemfile.lock +0 -4
- data/acceptance_test.gemspec +12 -1
- data/acceptance_test.gemspec.erb +0 -1
- data/lib/acceptance_test/version.rb +1 -1
- data/spec/acceptance/search_with_pages_spec.rb +6 -2
- data/spec/support/pages/wikipedia_pages.rb +1 -1
- metadata +190 -22
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YzY0ZTVkZTRlMTgxNDA3OWIyZGUzZGZiNzg1Y2FjOTc2ZGMxNTllOQ==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a14a51febbab5294128b502cd341c4a85af49c8e
|
4
|
+
data.tar.gz: 4a1f6c3b8fb1d04637d761c671c5cf46533dd7c8
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
NWY1MmU1NGIyZTg1YmY2NzA1YTMxMzZkODYzMDFhMDMwMWI2ZmM5MTVkYjEx
|
11
|
-
ZWU3ZDFlYzU2OTk3NDg2M2Y3NzE2MmYyOGUwZDIyMjZmZjg4MmU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MjEyMzk3OGZkMTdhMDQ1MDI4MGUyNDRlMzYxMzU5OTU4Mjk3NDI0OWU5MmI2
|
14
|
-
NDIyYzk5YjY3NjJlYzY4Y2M3MWNiNGJmMjk3ZTYzNjgxYjJmNDA4N2M3NDM4
|
15
|
-
ZjFhYWM3ZWY3MGZlZDRmYzU4ODE0N2U2NzIxODVlMWRjNGJmZjA=
|
6
|
+
metadata.gz: 1361d4cc3756c16e21b53acc917b5eaf409a9d00155fea53c9f24923d60b718facecaef45bbe0e3807485dea6ac12c57ff29f79a29730119a5bd7735fd921d38
|
7
|
+
data.tar.gz: b7124f3f50cb744298902303b8dbbebddfad0f70ee8736b451090cfd5325acd4069e291050b3a56834fbd289966aa21265237a1104828e4e71ca4231d8888fb9
|
data/.idea/acceptance_test.iml
CHANGED
@@ -364,61 +364,97 @@
|
|
364
364
|
<ConfigurationWrapper RunnerId="RubyRunner" />
|
365
365
|
<method />
|
366
366
|
</configuration>
|
367
|
+
<configuration default="false" name=" searches on wikipedia web site: acceptance_test" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
368
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
369
|
+
<module name="acceptance_test" />
|
370
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
371
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
372
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
373
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
374
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
375
|
+
<envs>
|
376
|
+
<env name="JRUBY_OPTS" value="-X+O" />
|
377
|
+
</envs>
|
378
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
379
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
380
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
381
|
+
<COVERAGE_PATTERN ENABLED="true">
|
382
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
383
|
+
</COVERAGE_PATTERN>
|
384
|
+
</EXTENSION>
|
385
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
386
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
387
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/acceptance/search_with_pages_spec.rb" />
|
388
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
389
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
390
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE=" searches on wikipedia web site" />
|
391
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
392
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
393
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
394
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
395
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
396
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
397
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
398
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
399
|
+
<RunnerSettings RunnerId="RubyDebugRunner" />
|
400
|
+
<RunnerSettings RunnerId="RubyRunner" />
|
401
|
+
<ConfigurationWrapper RunnerId="RubyDebugRunner" />
|
402
|
+
<ConfigurationWrapper RunnerId="RubyRunner" />
|
403
|
+
<method />
|
404
|
+
</configuration>
|
367
405
|
</component>
|
368
406
|
<component name="NewModuleRootManager">
|
369
407
|
<content url="file://$MODULE_DIR$" />
|
370
|
-
<orderEntry type="jdk" jdkName="RVM: ruby-1.
|
408
|
+
<orderEntry type="jdk" jdkName="RVM: ruby-2.1.5 [acceptance_test]" jdkType="RUBY_SDK" />
|
371
409
|
<orderEntry type="sourceFolder" forTests="false" />
|
372
|
-
<orderEntry type="library" scope="PROVIDED" name="activesupport (v4.1.8, RVM: ruby-1.
|
373
|
-
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.2, RVM: ruby-1.
|
374
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.
|
375
|
-
<orderEntry type="library" scope="PROVIDED" name="capybara (v2.4.4, RVM: ruby-1.
|
376
|
-
<orderEntry type="library" scope="PROVIDED" name="capybara-firebug (v2.1.0, RVM: ruby-1.
|
377
|
-
<orderEntry type="library" scope="PROVIDED" name="capybara-webkit (v1.3.1, RVM: ruby-1.
|
378
|
-
<orderEntry type="library" scope="PROVIDED" name="childprocess (v0.5.5, RVM: ruby-1.
|
379
|
-
<orderEntry type="library" scope="PROVIDED" name="chunky_png (v1.3.3, RVM: ruby-1.
|
380
|
-
<orderEntry type="library" scope="PROVIDED" name="cliver (v0.3.2, RVM: ruby-1.
|
381
|
-
<orderEntry type="library" scope="PROVIDED" name="cucumber (v1.3.17, RVM: ruby-1.
|
382
|
-
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-1.
|
383
|
-
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.9.6, RVM: ruby-1.
|
384
|
-
<orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-1.
|
385
|
-
<orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.
|
386
|
-
<orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-1.
|
387
|
-
<orderEntry type="library" scope="PROVIDED" name="gherkin (v2.12.2, RVM: ruby-1.
|
388
|
-
<orderEntry type="library" scope="PROVIDED" name="gnawrnip (v0.3.2, RVM: ruby-1.
|
389
|
-
<orderEntry type="library" scope="PROVIDED" name="i18n (v0.7.0, RVM: ruby-1.
|
390
|
-
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.1, RVM: ruby-1.
|
391
|
-
<orderEntry type="library" scope="PROVIDED" name="meta_methods (v1.2.0, RVM: ruby-1.
|
392
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
393
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
394
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
395
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
396
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
397
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
398
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
399
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
400
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
401
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
402
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
403
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
404
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.
|
405
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-
|
406
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-
|
407
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-
|
408
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
409
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
410
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
411
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
412
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
413
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
414
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
415
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
416
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
417
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
418
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
419
|
-
<orderEntry type="library" scope="PROVIDED" name="websocket (
|
420
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
421
|
-
<orderEntry type="library" scope="PROVIDED" name="websocket-extensions (v0.1.1, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
422
|
-
<orderEntry type="library" scope="PROVIDED" name="xpath (v2.0.0, RVM: ruby-1.9.3-p551 [acceptance_test]) [gem]" level="application" />
|
410
|
+
<orderEntry type="library" scope="PROVIDED" name="activesupport (v4.1.8, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
411
|
+
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.2, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
412
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.4, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
413
|
+
<orderEntry type="library" scope="PROVIDED" name="capybara (v2.4.4, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
414
|
+
<orderEntry type="library" scope="PROVIDED" name="capybara-firebug (v2.1.0, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
415
|
+
<orderEntry type="library" scope="PROVIDED" name="capybara-webkit (v1.3.1, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
416
|
+
<orderEntry type="library" scope="PROVIDED" name="childprocess (v0.5.5, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
417
|
+
<orderEntry type="library" scope="PROVIDED" name="chunky_png (v1.3.3, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
418
|
+
<orderEntry type="library" scope="PROVIDED" name="cliver (v0.3.2, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
419
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber (v1.3.17, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
420
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
421
|
+
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.9.6, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
422
|
+
<orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
423
|
+
<orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
424
|
+
<orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
425
|
+
<orderEntry type="library" scope="PROVIDED" name="gherkin (v2.12.2, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
426
|
+
<orderEntry type="library" scope="PROVIDED" name="gnawrnip (v0.3.2, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
427
|
+
<orderEntry type="library" scope="PROVIDED" name="i18n (v0.7.0, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
428
|
+
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.1, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
429
|
+
<orderEntry type="library" scope="PROVIDED" name="meta_methods (v1.2.0, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
430
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types (v2.4.3, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
431
|
+
<orderEntry type="library" scope="PROVIDED" name="mini_portile (v0.6.1, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
432
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.5.0, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
433
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.10.1, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
434
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_test (v0.1.1, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
435
|
+
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.6.5, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
436
|
+
<orderEntry type="library" scope="PROVIDED" name="oily_png (v1.1.2, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
437
|
+
<orderEntry type="library" scope="PROVIDED" name="poltergeist (v1.5.1, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
438
|
+
<orderEntry type="library" scope="PROVIDED" name="rack (v1.6.0, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
439
|
+
<orderEntry type="library" scope="PROVIDED" name="rack-test (v0.6.2, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
440
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.1.0, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
441
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.1.7, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
442
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-example_steps (v3.0.2, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
443
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.1.2, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
444
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.1.3, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
445
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.1.2, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
446
|
+
<orderEntry type="library" scope="PROVIDED" name="rubyzip (v1.1.6, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
447
|
+
<orderEntry type="library" scope="PROVIDED" name="selenium-webdriver (v2.43.0, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
448
|
+
<orderEntry type="library" scope="PROVIDED" name="slim (v3.0.1, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
449
|
+
<orderEntry type="library" scope="PROVIDED" name="temple (v0.7.4, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
450
|
+
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.4, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
451
|
+
<orderEntry type="library" scope="PROVIDED" name="tilt (v2.0.1, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
452
|
+
<orderEntry type="library" scope="PROVIDED" name="turnip (v1.2.4, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
453
|
+
<orderEntry type="library" scope="PROVIDED" name="turnip_formatter (v0.3.3, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
454
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.2, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
455
|
+
<orderEntry type="library" scope="PROVIDED" name="websocket (v1.2.1, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
456
|
+
<orderEntry type="library" scope="PROVIDED" name="websocket-driver (v0.5.1, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
457
|
+
<orderEntry type="library" scope="PROVIDED" name="websocket-extensions (v0.1.1, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
458
|
+
<orderEntry type="library" scope="PROVIDED" name="xpath (v2.0.0, RVM: ruby-2.1.5 [acceptance_test]) [gem]" level="application" />
|
423
459
|
</component>
|
424
460
|
</module>
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
2.1.5
|
data/CHANGES
CHANGED
data/Gemfile
CHANGED
@@ -5,21 +5,20 @@ group :development do
|
|
5
5
|
gem "gemcutter"
|
6
6
|
end
|
7
7
|
|
8
|
-
group :test do
|
9
|
-
gem "mocha", :require => false
|
8
|
+
group :test, :default do
|
10
9
|
gem "rspec"
|
10
|
+
end
|
11
|
+
|
12
|
+
group :default do
|
11
13
|
gem "turnip_formatter"
|
12
14
|
gem "gnawrnip"
|
13
|
-
end
|
14
15
|
|
15
|
-
group :acceptance_test do
|
16
16
|
gem "activesupport", "~> 4.1.6"
|
17
17
|
gem "capybara", "~> 2.4.4"
|
18
18
|
gem "capybara-firebug", "~> 2.1.0"
|
19
19
|
gem "selenium-webdriver", "~> 2.43.0"
|
20
20
|
|
21
21
|
gem "capybara-webkit", "~> 1.3.1"
|
22
|
-
gem "cucumber", "~> 1.3.17"
|
23
22
|
gem "rspec-example_steps", "~> 3.0.2"
|
24
23
|
gem "turnip", "~> 1.2.4"
|
25
24
|
gem "meta_methods", "~> 1.2.0"
|
@@ -37,6 +36,10 @@ group :acceptance_test do
|
|
37
36
|
gem "poltergeist", "~> 1.5.1"
|
38
37
|
end
|
39
38
|
|
39
|
+
group "test" do
|
40
|
+
gem "cucumber", "~> 1.3.17"
|
41
|
+
end
|
42
|
+
|
40
43
|
# group :debug do
|
41
44
|
# gem "debugger-ruby_core_source"
|
42
45
|
# gem "ruby-debug-base19x", "0.11.30.pre12"
|
data/Gemfile.lock
CHANGED
@@ -46,12 +46,9 @@ GEM
|
|
46
46
|
i18n (0.7.0)
|
47
47
|
json (1.8.1)
|
48
48
|
meta_methods (1.2.0)
|
49
|
-
metaclass (0.0.4)
|
50
49
|
mime-types (2.4.3)
|
51
50
|
mini_portile (0.6.1)
|
52
51
|
minitest (5.5.0)
|
53
|
-
mocha (1.1.0)
|
54
|
-
metaclass (~> 0.0.1)
|
55
52
|
multi_json (1.10.1)
|
56
53
|
multi_test (0.1.1)
|
57
54
|
nokogiri (1.6.5)
|
@@ -121,7 +118,6 @@ DEPENDENCIES
|
|
121
118
|
gemspec_deps_gen
|
122
119
|
gnawrnip
|
123
120
|
meta_methods (~> 1.2.0)
|
124
|
-
mocha
|
125
121
|
poltergeist (~> 1.5.1)
|
126
122
|
rspec
|
127
123
|
rspec-example_steps (~> 3.0.2)
|
data/acceptance_test.gemspec
CHANGED
@@ -15,8 +15,19 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.require_paths = ["lib"]
|
16
16
|
spec.version = AcceptanceTest::VERSION
|
17
17
|
spec.license = "MIT"
|
18
|
-
|
19
18
|
|
19
|
+
spec.add_runtime_dependency "rspec", [">= 0"]
|
20
|
+
spec.add_runtime_dependency "turnip_formatter", [">= 0"]
|
21
|
+
spec.add_runtime_dependency "gnawrnip", [">= 0"]
|
22
|
+
spec.add_runtime_dependency "activesupport", ["~> 4.1.6"]
|
23
|
+
spec.add_runtime_dependency "capybara", ["~> 2.4.4"]
|
24
|
+
spec.add_runtime_dependency "capybara-firebug", ["~> 2.1.0"]
|
25
|
+
spec.add_runtime_dependency "selenium-webdriver", ["~> 2.43.0"]
|
26
|
+
spec.add_runtime_dependency "capybara-webkit", ["~> 1.3.1"]
|
27
|
+
spec.add_runtime_dependency "rspec-example_steps", ["~> 3.0.2"]
|
28
|
+
spec.add_runtime_dependency "turnip", ["~> 1.2.4"]
|
29
|
+
spec.add_runtime_dependency "meta_methods", ["~> 1.2.0"]
|
30
|
+
spec.add_runtime_dependency "poltergeist", ["~> 1.5.1"]
|
20
31
|
spec.add_development_dependency "gemspec_deps_gen", [">= 0"]
|
21
32
|
spec.add_development_dependency "gemcutter", [">= 0"]
|
22
33
|
|
data/acceptance_test.gemspec.erb
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
require 'acceptance_test'
|
2
2
|
require 'rspec/expectations'
|
3
|
+
require 'capybara/rspec'
|
3
4
|
|
5
|
+
RSpec::configure do |config|
|
6
|
+
config.include Capybara::RSpecMatchers
|
7
|
+
end
|
4
8
|
|
5
9
|
# profile = Selenium::WebDriver::Chrome::Profile.new
|
6
10
|
# # profile['download.prompt_for_download'] = false
|
@@ -26,7 +30,7 @@ require 'pages/wikipedia_pages'
|
|
26
30
|
RSpec.describe 'Wikipedia Search' do
|
27
31
|
include Capybara::DSL
|
28
32
|
|
29
|
-
let(:
|
33
|
+
let(:pages) { WikipediaPages.new(self) }
|
30
34
|
|
31
35
|
before do |example|
|
32
36
|
AcceptanceTest.instance.setup page, example.metadata
|
@@ -40,7 +44,7 @@ RSpec.describe 'Wikipedia Search' do
|
|
40
44
|
end
|
41
45
|
|
42
46
|
it "searches on wikipedia web site" do
|
43
|
-
|
47
|
+
pages.execute do
|
44
48
|
visit_home_page
|
45
49
|
|
46
50
|
enter_word "Capybara"
|
metadata
CHANGED
@@ -1,61 +1,229 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acceptance_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Shvets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rspec
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: turnip_formatter
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: gnawrnip
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: activesupport
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 4.1.6
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 4.1.6
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: capybara
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.4.4
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.4.4
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: capybara-firebug
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.1.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.1.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: selenium-webdriver
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.43.0
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 2.43.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: capybara-webkit
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.3.1
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.3.1
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec-example_steps
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 3.0.2
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 3.0.2
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: turnip
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.2.4
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.2.4
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: meta_methods
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 1.2.0
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 1.2.0
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: poltergeist
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 1.5.1
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 1.5.1
|
13
181
|
- !ruby/object:Gem::Dependency
|
14
182
|
name: gemspec_deps_gen
|
15
183
|
requirement: !ruby/object:Gem::Requirement
|
16
184
|
requirements:
|
17
|
-
- -
|
185
|
+
- - ">="
|
18
186
|
- !ruby/object:Gem::Version
|
19
187
|
version: '0'
|
20
188
|
type: :development
|
21
189
|
prerelease: false
|
22
190
|
version_requirements: !ruby/object:Gem::Requirement
|
23
191
|
requirements:
|
24
|
-
- -
|
192
|
+
- - ">="
|
25
193
|
- !ruby/object:Gem::Version
|
26
194
|
version: '0'
|
27
195
|
- !ruby/object:Gem::Dependency
|
28
196
|
name: gemcutter
|
29
197
|
requirement: !ruby/object:Gem::Requirement
|
30
198
|
requirements:
|
31
|
-
- -
|
199
|
+
- - ">="
|
32
200
|
- !ruby/object:Gem::Version
|
33
201
|
version: '0'
|
34
202
|
type: :development
|
35
203
|
prerelease: false
|
36
204
|
version_requirements: !ruby/object:Gem::Requirement
|
37
205
|
requirements:
|
38
|
-
- -
|
206
|
+
- - ">="
|
39
207
|
- !ruby/object:Gem::Version
|
40
208
|
version: '0'
|
41
|
-
description:
|
209
|
+
description: 'Description: simplifies congiguration and run of acceptance tests.'
|
42
210
|
email: alexander.shvets@gmail.com
|
43
211
|
executables: []
|
44
212
|
extensions: []
|
45
213
|
extra_rdoc_files: []
|
46
214
|
files:
|
47
|
-
- .gitignore
|
48
|
-
- .idea/.rakeTasks
|
49
|
-
- .idea/acceptance_test.iml
|
50
|
-
- .idea/encodings.xml
|
51
|
-
- .idea/jenkinsSettings.xml
|
52
|
-
- .idea/misc.xml
|
53
|
-
- .idea/modules.xml
|
54
|
-
- .idea/scopes/scope_settings.xml
|
55
|
-
- .idea/vcs.xml
|
56
|
-
- .rspec
|
57
|
-
- .ruby-gemset
|
58
|
-
- .ruby-version
|
215
|
+
- ".gitignore"
|
216
|
+
- ".idea/.rakeTasks"
|
217
|
+
- ".idea/acceptance_test.iml"
|
218
|
+
- ".idea/encodings.xml"
|
219
|
+
- ".idea/jenkinsSettings.xml"
|
220
|
+
- ".idea/misc.xml"
|
221
|
+
- ".idea/modules.xml"
|
222
|
+
- ".idea/scopes/scope_settings.xml"
|
223
|
+
- ".idea/vcs.xml"
|
224
|
+
- ".rspec"
|
225
|
+
- ".ruby-gemset"
|
226
|
+
- ".ruby-version"
|
59
227
|
- CHANGES
|
60
228
|
- Gemfile
|
61
229
|
- Gemfile.lock
|
@@ -117,17 +285,17 @@ require_paths:
|
|
117
285
|
- lib
|
118
286
|
required_ruby_version: !ruby/object:Gem::Requirement
|
119
287
|
requirements:
|
120
|
-
- -
|
288
|
+
- - ">="
|
121
289
|
- !ruby/object:Gem::Version
|
122
290
|
version: '0'
|
123
291
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
292
|
requirements:
|
125
|
-
- -
|
293
|
+
- - ">="
|
126
294
|
- !ruby/object:Gem::Version
|
127
295
|
version: '0'
|
128
296
|
requirements: []
|
129
297
|
rubyforge_project:
|
130
|
-
rubygems_version: 2.4.
|
298
|
+
rubygems_version: 2.4.3
|
131
299
|
signing_key:
|
132
300
|
specification_version: 4
|
133
301
|
summary: Simplifies congiguration and run of acceptance tests.
|