Created
May 25, 2012 12:42
-
-
Save jkutner/2787842 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ruby run.rb | |
....... | |
Finished in 0.452 seconds | |
7 examples, 0 failures | |
10.206000 0.000000 10.206000 ( 10.205000) | |
......F | |
Failures: | |
1) Status#retweet turns tweet into status | |
Failure/Error: s = Status.find_or_create_from(tweets) | |
NameError: | |
undefined local variable or method `topic' for #<Class:0x6cdd08eb> | |
# ./app/models/status.rb:29:in `find_or_create_from' | |
# ./spec/models/status_spec.rb:10:in `(root)' | |
# run.rb:13:in `__file__' | |
# run.rb:13:in `(root)' | |
Finished in 0.268 seconds | |
7 examples, 1 failure | |
Failed examples: | |
rspec ./spec/models/status_spec.rb:5 # Status#retweet turns tweet into status | |
0.416000 0.000000 0.416000 ( 0.416000) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'rspec' | |
require 'benchmark' | |
puts Benchmark.measure { RSpec::Core::Runner.run(["spec"]) } | |
# wait for signal | |
sleep(8) | |
# run again. | |
load "app/models/status.rb" | |
puts Benchmark.measure { RSpec::Core::Runner.run(["spec"]) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment