aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/admin_track_controller_spec.rb10
-rw-r--r--spec/models/track_thing_spec.rb12
2 files changed, 22 insertions, 0 deletions
diff --git a/spec/controllers/admin_track_controller_spec.rb b/spec/controllers/admin_track_controller_spec.rb
new file mode 100644
index 000000000..a7d983ab8
--- /dev/null
+++ b/spec/controllers/admin_track_controller_spec.rb
@@ -0,0 +1,10 @@
+require File.dirname(__FILE__) + '/../spec_helper'
+
+describe AdminTrackController, "when administering tracks" do
+ integrate_views
+ fixtures :track_things
+
+ it "shows the list page" do
+ get :list
+ end
+end
diff --git a/spec/models/track_thing_spec.rb b/spec/models/track_thing_spec.rb
new file mode 100644
index 000000000..32b5a23d5
--- /dev/null
+++ b/spec/models/track_thing_spec.rb
@@ -0,0 +1,12 @@
+require File.dirname(__FILE__) + '/../spec_helper'
+
+describe TrackThing, " when finding existing tracks" do
+# it "should find the user when given the right email and password" do
+# track_thing = jjo
+# users(:silly_emnameem)
+# track_things(:track_fancy_dog_search)
+#
+# found_track = TrackThing.find_by_existing_track()
+# end
+
+end