Skip to content

Commit

Permalink
Adding enable_mediated_deposit as a flippable feature
Browse files Browse the repository at this point in the history
  • Loading branch information
randalldfloyd committed Sep 13, 2016
1 parent 4bbe5e6 commit 4b2d580
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/features.rb
Expand Up @@ -7,4 +7,8 @@
feature :assign_admin_set,
default: true,
description: "Ability to assign uploaded items to an admin set"

feature :enable_mediated_deposit,
default: false,
description: "Turn on mediation for all deposits"
end
4 changes: 4 additions & 0 deletions spec/models/flipflop_spec.rb
Expand Up @@ -5,4 +5,8 @@
subject { described_class.assign_admin_set? }
it { is_expected.to be true }
end
describe "enable_mediated_deposit?" do
subject { described_class.enable_mediated_deposit? }
it { is_expected.to be false }
end
end

0 comments on commit 4b2d580

Please sign in to comment.