aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views/timebands/new.html.erb_spec.rb
diff options
context:
space:
mode:
authorZog2018-05-29 10:18:16 +0200
committerJohan Van Ryseghem2018-05-30 16:29:33 +0200
commit3e8d95ac8168205ac9526fb8663459d691d09c30 (patch)
treefd2bc220473f4defe30a35668d6b9eead76f00fa /spec/views/timebands/new.html.erb_spec.rb
parent971b267958c3bf78abea332e0af4c46a23679b61 (diff)
downloadchouette-core-3e8d95ac8168205ac9526fb8663459d691d09c30.tar.bz2
Refs #6433; Fix specs
Diffstat (limited to 'spec/views/timebands/new.html.erb_spec.rb')
-rw-r--r--spec/views/timebands/new.html.erb_spec.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/views/timebands/new.html.erb_spec.rb b/spec/views/timebands/new.html.erb_spec.rb
deleted file mode 100644
index f5e85f20c..000000000
--- a/spec/views/timebands/new.html.erb_spec.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-require 'spec_helper'
-
-describe "/timebands/new", :type => :view do
- assign_referential
- let!(:timeband) { assign(:timeband, build(:timeband)) }
-
- describe "form" do
-
- it "should render inputs" do
- render
- expect(rendered).to have_field('timeband[name]')
- expect(rendered).to have_field('timeband[start_time(4i)]')
- expect(rendered).to have_field('timeband[start_time(5i)]')
- expect(rendered).to have_selector('button[type=submit]')
- end
-
- end
-end