aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-05-09 13:29:41 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-05-10 11:18:10 +0200
commitf940252f3d92877d6d3b6808c14bea9f1a564cc7 (patch)
tree95ab0d08045c6cc2350a5a2e2a03adca61f2c8a8 /site/spec/models/user_spec.rb
parentA plain hobo application (diff)
downloadcouncil-webapp-f940252f3d92877d6d3b6808c14bea9f1a564cc7.tar.gz
council-webapp-f940252f3d92877d6d3b6808c14bea9f1a564cc7.tar.bz2
council-webapp-f940252f3d92877d6d3b6808c14bea9f1a564cc7.zip
A working rspec test
Diffstat (limited to 'site/spec/models/user_spec.rb')
-rw-r--r--site/spec/models/user_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/site/spec/models/user_spec.rb b/site/spec/models/user_spec.rb
new file mode 100644
index 0000000..05254c8
--- /dev/null
+++ b/site/spec/models/user_spec.rb
@@ -0,0 +1,7 @@
+require 'spec_helper.rb'
+
+describe User do
+ it "should run spec test with shoulda and models from application" do
+ Guest.new.should_not be_administrator
+ end
+end