Skip to content

Instantly share code, notes, and snippets.

@pnasrat
Created January 19, 2009 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pnasrat/48964 to your computer and use it in GitHub Desktop.
Save pnasrat/48964 to your computer and use it in GitHub Desktop.
spec spec/ohai/system_spec.rb spec/ohai/plugins/ohai_time_spec.rb
...............FFF
1)
Spec::Mocks::MockExpectationError in 'Ohai::System plugin ohai_time should get the current time'
Mock 'Class' expected :now with (any args) once, but received it 0 times
./spec/ohai/plugins/ohai_time_spec.rb:29:
2)
Spec::Mocks::MockExpectationError in 'Ohai::System plugin ohai_time should turn the time into a floating point number'
Mock 'Time' expected :to_f with (any args) once, but received it 0 times
./spec/ohai/plugins/ohai_time_spec.rb:35:
3)
'Ohai::System plugin ohai_time should set ohai_time to the current time' FAILED
expected: 1232366748.35963,
got: nil (using ==)
./spec/ohai/plugins/ohai_time_spec.rb:44:
Finished in 0.0609 seconds
spec spec/ohai/plugins/ohai_time_spec.rb spec/ohai/system_spec.rb
..................
Finished in 0.015939 seconds
18 examples, 0 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment