darrencauthon/freeboard-rails — pull request #5 by darrencauthon (2014-12-06 13:48:39+00:00)
Title: This is still valid code, yet the tests broke.

Test results:

```

# Running:

...EE...F..F

Finished in 0.056224s, 213.4320 runs/s, 124.5020 assertions/s.

1) Error:
Freeboard::DashboardController::save_board#test_0002_should render the dashboard data as json:
ActiveRecord::SerializationTypeMismatch: Attribute was supposed to be a Hash, but was a Object. -- #
/Users/darrencauthon/.rvm/gems/ruby-2.0.0-p576/gems/activerecord-4.1.7/lib/active_record/coders/yaml_column.rb:17:in `dump'

2) Error:
Freeboard::DashboardController::save_board#test_0001_should save the jsonified data:
ActiveRecord::SerializationTypeMismatch: Attribute was supposed to be a Hash, but was a Object. -- #
/Users/darrencauthon/.rvm/gems/ruby-2.0.0-p576/gems/activerecord-4.1.7/lib/active_record/coders/yaml_column.rb:17:in `dump'

3) Failure:
Freeboard::DashboardController::get_board#test_0001_should return the dashboard data as json [/Users/darrencauthon/darren/freeboard-rails/app/controllers/freeboard/dashboard_controller.rb:25]:
unexpected invocation: #.render(:json => {:data => {}})
unsatisfied expectations:
- expected exactly once, not yet invoked: #.render(:json => {:data => #})
satisfied expectations:
- allowed any number of times, not yet invoked: #.dashboard(any_parameters)
- allowed any number of times, invoked twice: #.params(any_parameters)

4) Failure:
Freeboard::DashboardController::index#test_0001_should return the dashboard to the view [/Users/darrencauthon/darren/freeboard-rails/spec/app/controllers/freeboard/dashboard_controller_spec.rb:22]:
Expected # (oid=70099362440360) to be the same as # (oid=70099362390280).

12 runs, 7 assertions, 2 failures, 2 errors, 0 skips
```