aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMarc Florisson2012-05-21 08:39:07 +0200
committerMarc Florisson2012-05-21 08:39:07 +0200
commit41dc5c3cbcdf7cea46561b8223bd57a1bb4377cb (patch)
treeee2d2182a4f081fb065a160e7b78724acfa29fc7 /spec
parent9485e4ddc7afc5c481b066dfc8bb315f296d0023 (diff)
parent04d68927679c25456c04c4dc424cbe5c2676784d (diff)
downloadchouette-core-41dc5c3cbcdf7cea46561b8223bd57a1bb4377cb.tar.bz2
Merge branch 'master' of chouette.dryade.priv:/srv/git/chouette2
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/imports_controller_spec.rb22
-rw-r--r--spec/helpers/imports_helper_spec.rb15
-rw-r--r--spec/models/import_spec.rb7
-rw-r--r--spec/views/imports/index.html.erb_spec.rb5
-rw-r--r--spec/views/imports/new.html.erb_spec.rb5
5 files changed, 54 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..e7a49a8e8
--- /dev/null
+++ b/spec/controllers/imports_controller_spec.rb
@@ -0,0 +1,22 @@
+require 'spec_helper'
+
+describe ImportsController do
+ login_user
+
+ describe "GET 'new'" do
+ it "returns http success" do
+ pending
+ get 'new'
+ response.should be_success
+ end
+ end
+
+ describe "GET 'index'" do
+ it "returns http success" do
+ pending
+ get 'index'
+ response.should be_success
+ end
+ end
+
+end
diff --git a/spec/helpers/imports_helper_spec.rb b/spec/helpers/imports_helper_spec.rb
new file mode 100644
index 000000000..8e5ec0c86
--- /dev/null
+++ b/spec/helpers/imports_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'spec_helper'
+
+# Specs in this file have access to a helper object that includes
+# the ImportsHelper. For example:
+#
+# describe ImportsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# helper.concat_strings("this","that").should == "this that"
+# end
+# end
+# end
+describe ImportsHelper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/spec/models/import_spec.rb b/spec/models/import_spec.rb
new file mode 100644
index 000000000..734445b8b
--- /dev/null
+++ b/spec/models/import_spec.rb
@@ -0,0 +1,7 @@
+require 'spec_helper'
+
+describe Import do
+
+
+
+end
diff --git a/spec/views/imports/index.html.erb_spec.rb b/spec/views/imports/index.html.erb_spec.rb
new file mode 100644
index 000000000..c0f2d3462
--- /dev/null
+++ b/spec/views/imports/index.html.erb_spec.rb
@@ -0,0 +1,5 @@
+require 'spec_helper'
+
+describe "imports/index.html.erb" do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/spec/views/imports/new.html.erb_spec.rb b/spec/views/imports/new.html.erb_spec.rb
new file mode 100644
index 000000000..a31539279
--- /dev/null
+++ b/spec/views/imports/new.html.erb_spec.rb
@@ -0,0 +1,5 @@
+require 'spec_helper'
+
+describe "imports/new.html.erb" do
+ pending "add some examples to (or delete) #{__FILE__}"
+end