administration-zero 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0055b7410852864619289bb38808d842640bd4287e74569218f777e511e86423
4
- data.tar.gz: 87b8eeee5181729f9b598a811e9f9482924713722375879eb6fc050c177a4cf8
3
+ metadata.gz: 4a1316a668c7b1c18ded185a0252038796d231d23115594ae97d4305c8090db4
4
+ data.tar.gz: bc419055b433ddec809205a7d790f5eaee090be2c0457269ce5413fdc0716f5a
5
5
  SHA512:
6
- metadata.gz: f131a63aa42f5f354d89bbbb12a4a88599e2fe7bb10540e0855fee072324f845c3b14d68e47940acd3eae25ee4e20985c4004071b01ad8ad986ddd31a836d33c
7
- data.tar.gz: 3c9af28115f6768cc7f92693bb078c406e960b3a332fe81275b309de2fec537cf9ab8e139c5ce2a2a3dea25e76ff020aa6464c803674cdabb0dd18b8cb08d809
6
+ metadata.gz: 5af52938675c49c71efdf66988b272d7b51c74251b7784d5c08e59759f44f047a311d2dd84a56f484b2317667c84e28f0b5fa3dcf87568eab3c90491d8419556
7
+ data.tar.gz: 53ab64eb30b1a614d002d4b590946857224f091bbce630b2ef64df42270326a4d26dacafeefe60ed356480a1fcc7200e05bcd76c02613a8722320f82ac82cc63
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.0.6] - 2024-01-17
4
+ - Remove admin scaffold system test
5
+
3
6
  ## [1.0.5] - 2024-01-17
4
7
  - Added ransackable_attributes to Admin::User
5
8
  - Updated dependencies
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- administration-zero (1.0.5)
4
+ administration-zero (1.0.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module AdministrationZero
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administration-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nixon
@@ -85,7 +85,6 @@ files:
85
85
  - lib/generators/admin/scaffold/templates/erb/new.html.erb.tt
86
86
  - lib/generators/admin/scaffold/templates/erb/show.html.erb.tt
87
87
  - lib/generators/admin/scaffold/templates/functional_test.rb.tt
88
- - lib/generators/admin/scaffold/templates/system_test.rb.tt
89
88
  homepage: https://github.com/lazaronixon/authentication-zero
90
89
  licenses:
91
90
  - MIT
@@ -1,52 +0,0 @@
1
- require "application_system_test_case"
2
-
3
- class <%= class_name.pluralize %>Test < ApplicationSystemTestCase
4
- setup do
5
- @admin_user = sign_in_admin_as(admin_users(:lazaro_nixon))
6
- @<%= singular_table_name %> = <%= fixture_name %>(:one)
7
- end
8
-
9
- test "visiting the index" do
10
- visit <%= index_helper(type: :url) %>
11
- assert_selector "h1", text: "<%= human_name.pluralize %>"
12
- end
13
-
14
- test "should create <%= human_name.downcase %>" do
15
- visit <%= index_helper(type: :url) %>
16
- click_on "New <%= human_name.downcase %>"
17
-
18
- <%- attributes_hash.each do |attr, value| -%>
19
- <%- if boolean?(attr) -%>
20
- check "<%= attr.humanize %>" if <%= value %>
21
- <%- else -%>
22
- fill_in "<%= attr.humanize %>", with: <%= value %>
23
- <%- end -%>
24
- <%- end -%>
25
- click_on "Create <%= human_name %>"
26
-
27
- assert_text "<%= human_name %> was successfully created"
28
- end
29
-
30
- test "should update <%= human_name %>" do
31
- visit <%= show_helper(type: :url) %>
32
- click_on "Edit <%= human_name.downcase %>", match: :first
33
-
34
- <%- attributes_hash.each do |attr, value| -%>
35
- <%- if boolean?(attr) -%>
36
- check "<%= attr.humanize %>" if <%= value %>
37
- <%- else -%>
38
- fill_in "<%= attr.humanize %>", with: <%= value %>
39
- <%- end -%>
40
- <%- end -%>
41
- click_on "Update <%= human_name %>"
42
-
43
- assert_text "<%= human_name %> was successfully updated"
44
- end
45
-
46
- test "should destroy <%= human_name %>" do
47
- visit <%= show_helper(type: :url) %>
48
- page.accept_confirm { click_on "Delete <%= human_name.downcase %>" }
49
-
50
- assert_text "<%= human_name %> was successfully destroyed"
51
- end
52
- end