Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

WIP

  • Loading branch information...
commit a88af768df5fa6a84b3643d3bc119328a5436d4e 1 parent dd3dd41
Jared Grippe authored committed
View
BIN  .DS_Store
Binary file not shown
View
BIN  .sass-cache/47c80d8c78f13f84ef53593d09516101f14d7a09/screen.sassc
Binary file not shown
View
5 features/a.feature
@@ -1,5 +0,0 @@
-Feature: Feature A
- This is example feature a
-
- Scenario: one
- Then this scenario should take 1 second to run
View
5 features/b.feature
@@ -1,5 +0,0 @@
-Feature: Feature B
- This is example feature b
-
- Scenario: one
- Then this scenario should take 2 seconds to run
View
5 features/c.feature
@@ -1,5 +0,0 @@
-Feature: Feature C
- This is example feature c
-
- Scenario: one
- Then this scenario should take 3 seconds to run
View
5 features/d.feature
@@ -1,5 +0,0 @@
-Feature: Feature D
- This is example feature d
-
- Scenario: one
- Then this scenario should take 4 seconds to run
View
5 features/sleep_for_1_second.feature
@@ -0,0 +1,5 @@
+Feature: Sleep for 1 second
+ This feature should take about 1 second to run
+
+ Scenario: Sleep for 1 second
+ Then this scenario took 1 second to run
View
5 features/sleep_for_2_seconds.feature
@@ -0,0 +1,5 @@
+Feature: Sleep for 2 seconds
+ This feature should take about 2 seconds to run
+
+ Scenario: Sleep for 2 seconds
+ Then this scenario took 2 seconds to run
View
5 features/sleep_for_4_seconds.feature
@@ -0,0 +1,5 @@
+Feature: Sleep for 4 seconds
+ This feature should take about 4 seconds to run
+
+ Scenario: Sleep for 4 seconds
+ Then this scenario took 4 seconds to run
View
5 features/sleep_for_8_seconds.feature
@@ -0,0 +1,5 @@
+Feature: Sleep for 8 seconds
+ This feature should take about 8 seconds to run
+
+ Scenario: Sleep for 8 seconds
+ Then this scenario took 8 seconds to run
View
2  features/step_definitions/sleep_steps.rb
@@ -1,3 +1,3 @@
-Then /^this scenario should take (\d+) seconds? to run$/ do |n|
+Then /^this scenario took (\d+) seconds? to run$/ do |n|
ExampleHobsonProject.sleep_and_log_for n
end
View
9 spec/c_spec.rb
@@ -1,9 +0,0 @@
-require 'spec_helper'
-
-describe 'c' do
-
- it "should take 3 seconds to run this spec" do
- ExampleHobsonProject.sleep_and_log_for 3
- end
-
-end
View
4 spec/a_spec.rb → spec/sleep_for_1_seconds_spec.rb
@@ -1,8 +1,8 @@
require 'spec_helper'
-describe 'a' do
+describe 'sleeping for 1 second' do
- it "should take 1 second to run this spec" do
+ it "should take 1 second" do
ExampleHobsonProject.sleep_and_log_for 1
end
View
4 spec/b_spec.rb → spec/sleep_for_2_seconds_spec.rb
@@ -1,8 +1,8 @@
require 'spec_helper'
-describe 'b' do
+describe 'sleeping for 2 seconds' do
- it "should take 2 seconds to run this spec" do
+ it "should take 2 seconds" do
ExampleHobsonProject.sleep_and_log_for 2
end
View
4 spec/d_spec.rb → spec/sleep_for_4_seconds_spec.rb
@@ -1,8 +1,8 @@
require 'spec_helper'
-describe 'd' do
+describe 'sleeping for 4 seconds' do
- it "should take 4 seconds to run this spec" do
+ it "should take 4 seconds" do
ExampleHobsonProject.sleep_and_log_for 4
end
View
9 spec/sleep_for_8_seconds_spec.rb
@@ -0,0 +1,9 @@
+require 'spec_helper'
+
+describe 'sleeping for 8 seconds' do
+
+ it "should take 8 seconds" do
+ ExampleHobsonProject.sleep_and_log_for 8
+ end
+
+end
Please sign in to comment.
Something went wrong with that request. Please try again.