Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Grippe authored and jaredatron committed Nov 23, 2011
1 parent dd3dd41 commit a88af76
Show file tree
Hide file tree
Showing 16 changed files with 36 additions and 36 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file not shown.
5 changes: 0 additions & 5 deletions features/a.feature

This file was deleted.

5 changes: 0 additions & 5 deletions features/b.feature

This file was deleted.

5 changes: 0 additions & 5 deletions features/c.feature

This file was deleted.

5 changes: 0 additions & 5 deletions features/d.feature

This file was deleted.

5 changes: 5 additions & 0 deletions 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
5 changes: 5 additions & 0 deletions 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
5 changes: 5 additions & 0 deletions 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
5 changes: 5 additions & 0 deletions 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
2 changes: 1 addition & 1 deletion 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
9 changes: 0 additions & 9 deletions spec/c_spec.rb

This file was deleted.

4 changes: 2 additions & 2 deletions 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

Expand Down
4 changes: 2 additions & 2 deletions 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

Expand Down
4 changes: 2 additions & 2 deletions 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

Expand Down
9 changes: 9 additions & 0 deletions 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

0 comments on commit a88af76

Please sign in to comment.