Skip to content

Commit

Permalink
now validates that the input is a lower that 1e6
Browse files Browse the repository at this point in the history
  • Loading branch information
aamyot authored and aamyot committed Jul 3, 2015
1 parent ebb04f3 commit ad7ebf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/challenges/prime_factors_challenge_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def app
'}')
end

it "decomposes a positive integer into prime factors" do
it "validates that the input is lower than 1 000 000" do
get "http://localhost:9292/primeFactors/primeFactors?number=1000001"

expect(last_response.status).to eq(200)
Expand Down

0 comments on commit ad7ebf8

Please sign in to comment.