diff options
| author | mo khan <mo@mokhan.ca> | 2013-07-19 10:34:27 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-07-19 10:34:27 -0600 |
| commit | 8eddde8ac7012c13e3db6cdd7086afc999742e7f (patch) | |
| tree | 52caaea4fe7d08b43cba184b3e02c4e941abf30f /spec/controllers | |
| parent | 7a0d959332d84b31bfc1b35679a0a86cbd8e81e4 (diff) | |
add rspec controller spec.
Diffstat (limited to 'spec/controllers')
| -rw-r--r-- | spec/controllers/welcome_controller_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/controllers/welcome_controller_spec.rb b/spec/controllers/welcome_controller_spec.rb new file mode 100644 index 0000000..4aa2c6e --- /dev/null +++ b/spec/controllers/welcome_controller_spec.rb @@ -0,0 +1,10 @@ +require "spec_helper" + +describe WelcomeController do + describe :index do + it "should not blow up" do + get :index + assigns(:message).should == 'Hello Ruby Universe!' + end + end +end |
