-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new dummy app tailwind in admin gem
- Loading branch information
Showing
26 changed files
with
26 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Accounts", type: :feature do | ||
describe "Accounts", type: :feature, solidus_admin: true do | ||
it "shows account info" do | ||
user = create(:admin_user, email: '[email protected]') | ||
stub_authorization! user | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Adjustment Reasons", :js, type: :feature do | ||
describe "Adjustment Reasons", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists adjustment reasons and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Option Types", :js, type: :feature do | ||
describe "Option Types", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists option types and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Orders", type: :feature do | ||
describe "Orders", type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists products", :js do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Order", :js, type: :feature do | ||
describe "Order", :js, type: :feature, solidus_admin: true do | ||
before do | ||
allow(SolidusAdmin::Config).to receive(:enable_alpha_features?) { true } | ||
sign_in create(:admin_user, email: '[email protected]') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Payment Methods", :js, type: :feature do | ||
describe "Payment Methods", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists users and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Product", type: :feature do | ||
describe "Product", type: :feature, solidus_admin: true do | ||
before do | ||
allow(SolidusAdmin::Config).to receive(:enable_alpha_features?) { true } | ||
sign_in create(:admin_user, email: '[email protected]') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Products", type: :feature do | ||
describe "Products", type: :feature, solidus_admin: true do | ||
before do | ||
allow(SolidusAdmin::Config).to receive(:enable_alpha_features?) { true } | ||
sign_in create(:admin_user, email: '[email protected]') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Properties", :js, type: :feature do | ||
describe "Properties", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists properties and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Refund Reasons", :js, type: :feature do | ||
describe "Refund Reasons", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists refund reasons and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Reimbursement Types", :js, type: :feature do | ||
describe "Reimbursement Types", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists Reimbursement Types and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Return Reasons", :js, type: :feature do | ||
describe "Return Reasons", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists Return Reasons and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Shipping Categories", :js, type: :feature do | ||
describe "Shipping Categories", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists shipping categories and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Shipping Methods", :js, type: :feature do | ||
describe "Shipping Methods", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists shipping methods and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Stock Items", :js, type: :feature do | ||
describe "Stock Items", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
# We don't want multiple stock items per variant, and stock locations are created implicitly otherwise, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Stock Locations", :js, type: :feature do | ||
describe "Stock Locations", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists stock locations and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Store Credit Reasons", :js, type: :feature do | ||
describe "Store Credit Reasons", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists Store Credit Reasons and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Stores", :js, type: :feature do | ||
describe "Stores", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists stores and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Tax categories", :js, type: :feature do | ||
describe "Tax categories", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists tax categories and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Tax rates", :js, type: :feature do | ||
describe "Tax rates", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists tax rates and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Taxonomies", :js, type: :feature do | ||
describe "Taxonomies", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists taxonomies and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Users", :js, type: :feature do | ||
describe "Users", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists users and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
require 'spec_helper' | ||
|
||
describe "Zones", :js, type: :feature do | ||
describe "Zones", :js, type: :feature, solidus_admin: true do | ||
before { sign_in create(:admin_user, email: '[email protected]') } | ||
|
||
it "lists zones and allows deleting them" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters