aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers
diff options
context:
space:
mode:
authorAlban Peignier2012-05-16 16:55:57 +0200
committerAlban Peignier2012-05-16 16:55:57 +0200
commit39a4249b8c5197cfee6b8eb4673485628408e07a (patch)
tree61619db5ea5e722b2c7752bbfc914f5a7a859fdd /spec/controllers
parenta2260f9d3737188d22504f705825ed5a846bb861 (diff)
downloadchouette-core-39a4249b8c5197cfee6b8eb4673485628408e07a.tar.bz2
Create first Imports. Refs #23
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/imports_controller_spec.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/controllers/imports_controller_spec.rb b/spec/controllers/imports_controller_spec.rb
new file mode 100644
index 000000000..93640684a
--- /dev/null
+++ b/spec/controllers/imports_controller_spec.rb
@@ -0,0 +1,20 @@
+require 'spec_helper'
+
+describe ImportsController do
+ login_user
+
+ describe "GET 'new'" do
+ it "returns http success" do
+ get 'new'
+ response.should be_success
+ end
+ end
+
+ describe "GET 'index'" do
+ it "returns http success" do
+ get 'index'
+ response.should be_success
+ end
+ end
+
+end