Permalink
Browse files

Add valid sample.foo

  • Loading branch information...
1 parent f4d0de4 commit 74066d865a7ad564555d36696887490c46218a31 @sanemat committed Nov 21, 2012
Showing with 12 additions and 0 deletions.
  1. +5 −0 sample.rb
  2. +7 −0 sample_spec.rb
View
@@ -0,0 +1,5 @@
+class Sample
+ def foo
+ true
+ end
+end
View
@@ -0,0 +1,7 @@
+require './sample'
+describe Sample do
+ subject { described_class.new }
+ it '.foo should be true' do
+ subject.foo.should be_true
+ end
+end

0 comments on commit 74066d8

Please sign in to comment.