Commit 31df012
Changed files (2)
spec
euler
spec/euler/problem_one_spec.rb
@@ -0,0 +1,13 @@
+require "spec_helper"
+
+describe "problem 1" do
+ it "finds the sum of all multiples of 3 or 5 below 10" do
+ result = sum_of_all_multiples_under(10)
+ result.should == 23
+ end
+
+ xit "finds the sum of all multiples of 3 or 5 below 1000" do
+ result = sum_of_all_multiples_under(10)
+ result.should == 0
+ end
+end
.ruby-version
@@ -1,1 +1,1 @@
-ruby-2.0.0-p247
+2.1.1