From ad66c324cf85a71e36bf2c5ca55a22232e8cd290 Mon Sep 17 00:00:00 2001 From: hirocaster Date: Wed, 27 Mar 2013 15:04:09 +0900 Subject: [PATCH 1/3] Add fail spec --- spec/example/example_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/example/example_spec.rb b/spec/example/example_spec.rb index bdfe49b..33e3430 100644 --- a/spec/example/example_spec.rb +++ b/spec/example/example_spec.rb @@ -3,5 +3,6 @@ describe 'example' do describe 'example1' do it { true.should be_true } + it { false.should be_true } end end From fb66ea92105ae82f038ba4e773f5d694d90a29a6 Mon Sep 17 00:00:00 2001 From: hirocaster Date: Wed, 27 Mar 2013 15:21:09 +0900 Subject: [PATCH 2/3] Fix rake --- Gemfile | 1 + Gemfile.lock | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index 86c9283..caecea2 100644 --- a/Gemfile +++ b/Gemfile @@ -2,4 +2,5 @@ source "https://rubygems.org" # gem "rails" +gem "rake" gem "rspec" \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 46823cb..83c8f89 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,6 +2,7 @@ GEM remote: https://rubygems.org/ specs: diff-lcs (1.2.1) + rake (10.0.4) rspec (2.13.0) rspec-core (~> 2.13.0) rspec-expectations (~> 2.13.0) @@ -15,4 +16,5 @@ PLATFORMS ruby DEPENDENCIES + rake rspec From 5ca34f3ca9737b496496362e4b9fb5bda6e78969 Mon Sep 17 00:00:00 2001 From: hirocaster Date: Wed, 27 Mar 2013 15:31:49 +0900 Subject: [PATCH 3/3] Fix spec --- spec/example/example_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/example/example_spec.rb b/spec/example/example_spec.rb index 33e3430..2f30463 100644 --- a/spec/example/example_spec.rb +++ b/spec/example/example_spec.rb @@ -3,6 +3,6 @@ describe 'example' do describe 'example1' do it { true.should be_true } - it { false.should be_true } + it { true.should be_true } end end