Skip to content

Commit

Permalink
Enables admin_style_v3 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
filipefurtad0 committed Jul 10, 2024
1 parent f0fd3bb commit 9f10cf4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions db/migrate/20240710152309_enable_admin_style_v3_by_default.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class EnableAdminStyleV3ByDefault < ActiveRecord::Migration[7.0]
def change
Flipper.enable(:admin_style_v3)
end
end
2 changes: 1 addition & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.0].define(version: 2024_06_25_024328) do
ActiveRecord::Schema[7.0].define(version: 2024_06_25_152309) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_stat_statements"
enable_extension "plpgsql"
Expand Down
2 changes: 1 addition & 1 deletion spec/system/admin/products_v3/products_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require "system_helper"

RSpec.describe 'As an enterprise user, I can manage my products', feature: :admin_style_v3 do
RSpec.describe 'As an enterprise user, I can manage my products' do
include AdminHelper
include WebHelper
include AuthenticationHelper
Expand Down

0 comments on commit 9f10cf4

Please sign in to comment.