diff options
| author | azul <azul@riseup.net> | 2018-01-31 04:44:15 -0800 |
|---|---|---|
| committer | azul <azul@riseup.net> | 2018-01-31 04:44:15 -0800 |
| commit | b58c2d841013ec9fc30c3c8e6dcc3ee73dccfbf4 (patch) | |
| tree | 5c8c2caf8a581b215c63c93444c5b72a5175c0f8 /features | |
| parent | a6e0378669118feeb0c42b6282b0b469fb11ad8f (diff) | |
| parent | a55cc3653de22d868ade5303918280a38e8e9fe8 (diff) | |
Merge branch 'feature/different-keytypes' into 'master'
couch: add identity view to get all keys
See merge request leap/webapp!61
Diffstat (limited to 'features')
| -rw-r--r-- | features/step_definitions/key_steps.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/step_definitions/key_steps.rb b/features/step_definitions/key_steps.rb index 3d5e015..ad3fac6 100644 --- a/features/step_definitions/key_steps.rb +++ b/features/step_definitions/key_steps.rb @@ -16,7 +16,7 @@ Then /^I should have published an? "([^"]*)" key(?: with value "([^"]*)")?$/ do identity = Identity.for(@user) keys = identity.keys assert_includes keys.keys, type - assert_equal value, JSON.parse(keys[type])['value'] if value + assert_equal value, keys[type]['value'] if value end Then /^I should not have published an? "([^"]*)" key$/ do |type| |
