Commit 31df012

mo khan <mo@mokhan.ca>
2014-02-26 00:14:29
upgrade ruby and start project euler problems.
1 parent 677b417
Changed files (2)
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