okuribito_rails 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ "%����Jqq^��Je<��v���Y�n����
@@ -0,0 +1,2 @@
1
+ "%
2
+ �i�*6�]+T��$��TN��?�~)뛃s
@@ -56,5 +56,19 @@ RSpec.feature "method_call_log pages", type: :feature do
56
56
  expect_method_call_info
57
57
  expect(page).to have_selector("table.method_call_info tbody tr", count: 2)
58
58
  end
59
+
60
+ scenario "Available search function(like search)" do
61
+ expect(current_path).to eq method_call_logs_path
62
+ expect(page).to have_http_status(200)
63
+
64
+ within(".search-area") do
65
+ fill_in "method_name", with: "file"
66
+ click_button "Search"
67
+ end
68
+
69
+ expect_search_area
70
+ expect_method_call_info
71
+ expect(page).to have_selector("table.method_call_info tbody tr", count: 2)
72
+ end
59
73
  end
60
74
  end
@@ -4,7 +4,8 @@ RSpec.feature "method_call_situation pages", type: :feature do
4
4
  expect(page).to have_content "Class name"
5
5
  expect(page).to have_content "Method name"
6
6
  expect(page).to have_content "x days passed"
7
- expect(page).to have_content "Uncalled method"
7
+ expect(page).to have_content "Uncalled"
8
+ expect(page).to have_content "Called"
8
9
  end
9
10
  end
10
11
 
@@ -60,5 +61,33 @@ RSpec.feature "method_call_situation pages", type: :feature do
60
61
  expect_method_call_info
61
62
  expect(page).to have_selector("table.method_call_info tbody tr", count: 2)
62
63
  end
64
+
65
+ scenario "Available search function(like search)" do
66
+ expect(current_path).to eq method_call_situations_path
67
+ expect(page).to have_http_status(200)
68
+
69
+ within(".search-area") do
70
+ fill_in "method_name", with: "file"
71
+ click_button "Search"
72
+ end
73
+
74
+ expect_search_area
75
+ expect_method_call_info
76
+ expect(page).to have_selector("table.method_call_info tbody tr", count: 2)
77
+ end
78
+
79
+ scenario "Available search function(called method)" do
80
+ expect(current_path).to eq method_call_situations_path
81
+ expect(page).to have_http_status(200)
82
+
83
+ within(".search-area") do
84
+ check "called_method"
85
+ click_button "Search"
86
+ end
87
+
88
+ expect_search_area
89
+ expect_method_call_info
90
+ expect(page).to have_selector("table.method_call_info tbody tr", count: 2)
91
+ end
63
92
  end
64
93
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okuribito_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yasuhiro Matsumura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-23 00:00:00.000000000 Z
11
+ date: 2017-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: okuribito
@@ -292,6 +292,7 @@ files:
292
292
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/2X/2XitnhmoNerl6IExWiDm6fg41RKwG2JOXYJB_op2Ufg.cache
293
293
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/2_/2_0fPm6UPqAcx4DnsHf6aQdixOhXw5H-5Y7sv68UiWQ.cache
294
294
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/4F/4Fn-Vs3_ipcAuYOq-eozysX1gQbFs6GK0Oi3mly6vQg.cache
295
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/4F/4f1eR4_104njcnSeaN-fDwQeGvD8oU-IOYW7hlg9pCU.cache
295
296
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/4_/4_Uo_ZQWirPgPVik_NGC0q_smxSAtEnVbFTxbrF2zhk.cache
296
297
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/7v/7vQM37x2uiIow-Nw2Yxw5OpAn-fvmfppT5PubB1ldDE.cache
297
298
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/8q/8q3Eo21qKNCNbd1Ualp5KDnEDuZFHQcgtp36RSsLzcg.cache
@@ -340,6 +341,7 @@ files:
340
341
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache
341
342
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
342
343
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
344
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/o4/o4Dtt7dDuWRq_d6dTGBhjQkPvD806ndWV6icJQmipyw.cache
343
345
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/ps/psdbPwxTr09SmYyT6Sg4t09okLmqsaXqZ8cDWB2_20w.cache
344
346
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/q0/q0qu7zCx6lgm2SwlK21QC3pXV1W_el5vZ6scY1dGUDU.cache
345
347
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/sM/sMd9eUxa5puStD62GGA-ruYEThLZ4M9irw8n1sGyhjk.cache
@@ -448,6 +450,7 @@ test_files:
448
450
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/2_/2_0fPm6UPqAcx4DnsHf6aQdixOhXw5H-5Y7sv68UiWQ.cache
449
451
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/2X/2XitnhmoNerl6IExWiDm6fg41RKwG2JOXYJB_op2Ufg.cache
450
452
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/4_/4_Uo_ZQWirPgPVik_NGC0q_smxSAtEnVbFTxbrF2zhk.cache
453
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/4F/4f1eR4_104njcnSeaN-fDwQeGvD8oU-IOYW7hlg9pCU.cache
451
454
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/4F/4Fn-Vs3_ipcAuYOq-eozysX1gQbFs6GK0Oi3mly6vQg.cache
452
455
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/7v/7vQM37x2uiIow-Nw2Yxw5OpAn-fvmfppT5PubB1ldDE.cache
453
456
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/8q/8q3Eo21qKNCNbd1Ualp5KDnEDuZFHQcgtp36RSsLzcg.cache
@@ -486,6 +489,7 @@ test_files:
486
489
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache
487
490
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
488
491
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
492
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/o4/o4Dtt7dDuWRq_d6dTGBhjQkPvD806ndWV6icJQmipyw.cache
489
493
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/OG/OGF7sb7C7lrUqW0pYMuUvBpYQDMNCtsV3Z6YwFPJFIQ.cache
490
494
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/ps/psdbPwxTr09SmYyT6Sg4t09okLmqsaXqZ8cDWB2_20w.cache
491
495
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/q0/q0qu7zCx6lgm2SwlK21QC3pXV1W_el5vZ6scY1dGUDU.cache