-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
98abc43
commit fb5913f
Showing
26 changed files
with
114 additions
and
112 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,3 @@ | ||
inherit_from: | ||
- .rubocop_ruby.yml | ||
- .rubocop_rails.yml | ||
|
||
RSpec/DescribeClass: | ||
Enabled: false | ||
|
||
RSpec/IndexedLet: | ||
Enabled: false | ||
|
||
RSpecRails/InferredSpecType: | ||
Enabled: false | ||
|
||
RSpec/ReceiveMessages: | ||
Enabled: false | ||
|
||
Rails/ThreeStateBooleanColumn: | ||
Enabled: false | ||
|
||
RSpec/NoExpectationExample: | ||
Enabled: false | ||
|
||
FactoryBot/FactoryAssociationWithStrategy: | ||
Enabled: false | ||
|
||
RSpec/RepeatedExampleGroupDescription: | ||
Exclude: | ||
- "spec/system/decidim/admin/admin_creates_wallet_spec.rb" | ||
|
||
RSpec/RepeatedExampleGroupBody: | ||
Exclude: | ||
- "spec/system/decidim/admin/admin_creates_wallet_spec.rb" |
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
7 changes: 7 additions & 0 deletions
7
db/migrate/20240522122349_add_not_null_constraint_to_in_vocdoni_census.rb
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# frozen_string_literal: true | ||
|
||
class AddNotNullConstraintToInVocdoniCensus < ActiveRecord::Migration[6.1] | ||
def change | ||
change_column_null :decidim_vocdoni_voters, :in_vocdoni_census, false | ||
end | ||
end |
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
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
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
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
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
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
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
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 "Admin creates wallet", :slow, type: :system do | ||
describe "Admin creates wallet", :slow do # rubocop:disable RSpec/DescribeClass | ||
let(:manifest_name) { :vocdoni } | ||
let(:current_component) { create(:vocdoni_component) } | ||
let!(:election) { create(:vocdoni_election, :ready_for_setup, component: current_component, title: { en: "English title" }) } | ||
|
@@ -40,9 +40,11 @@ | |
|
||
shared_context "with environment settings" do |env| | ||
before do | ||
allow(Decidim::Vocdoni).to receive(:api_endpoint_env).and_return(env) | ||
allow(Decidim::Vocdoni).to receive(:vocdoni_reseller_name).and_return("Test reseller") | ||
allow(Decidim::Vocdoni).to receive(:vocdoni_reseller_email).and_return("[email protected]") | ||
allow(Decidim::Vocdoni).to receive_messages( | ||
api_endpoint_env: env, | ||
vocdoni_reseller_name: "Test reseller", | ||
vocdoni_reseller_email: "[email protected]" | ||
) | ||
end | ||
end | ||
|
||
|
Oops, something went wrong.