Commit 8b48008d63b11b9cf08c24b10c308da3c433d67c:
rename report spec
Branch: refs/heads/master
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>
------------------------------------------------------------
spec/report_spec.rb | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------
diff --git a/spec/item_spec.rb b/spec/item_spec.rb
deleted file mode 100644
index 9dbf0cc..0000000
--- a/spec/item_spec.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Individual report
-#
-
-require_relative 'spec_helper'
-
-feature 'item' do
- it "should show the Secretary report" do
- visit '/2015-01-21/Secretary'
-
- # header
- expect(page).to have_selector '.navbar-fixed-top.available .navbar-brand',
- text: 'Secretary'
-
- # info
- expect(page).to have_selector 'dd', text: '4D'
- expect(page).to have_selector 'dd', text: 'Craig'
-
- # content
- expect(page).to have_selector 'pre', text: /is running well/
-
- # footer
- expect(page).to have_selector '.backlink[href="Treasurer"]',
- text: 'Treasurer'
- expect(page).to have_selector
'.nextlink[href="Executive-Vice-President"]',
- text: 'Executive Vice President'
- end
-end
diff --git a/spec/report_spec.rb b/spec/report_spec.rb
new file mode 100644
index 0000000..3b04f1f
--- /dev/null
+++ b/spec/report_spec.rb
@@ -0,0 +1,28 @@
+#
+# Individual report
+#
+
+require_relative 'spec_helper'
+
+feature 'report' do
+ it "should show the Secretary report" do
+ visit '/2015-01-21/Secretary'
+
+ # header
+ expect(page).to have_selector '.navbar-fixed-top.available .navbar-brand',
+ text: 'Secretary'
+
+ # info
+ expect(page).to have_selector 'dd', text: '4D'
+ expect(page).to have_selector 'dd', text: 'Craig'
+
+ # content
+ expect(page).to have_selector 'pre', text: /is running well/
+
+ # footer
+ expect(page).to have_selector '.backlink[href="Treasurer"]',
+ text: 'Treasurer'
+ expect(page).to have_selector
'.nextlink[href="Executive-Vice-President"]',
+ text: 'Executive Vice President'
+ end
+end