diff options
Diffstat (limited to 'spec/serializers/import/bulk_import_entity_spec.rb')
-rw-r--r-- | spec/serializers/import/bulk_import_entity_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/serializers/import/bulk_import_entity_spec.rb b/spec/serializers/import/bulk_import_entity_spec.rb index f35684bef20..3dfc659daf7 100644 --- a/spec/serializers/import/bulk_import_entity_spec.rb +++ b/spec/serializers/import/bulk_import_entity_spec.rb @@ -7,14 +7,15 @@ RSpec.describe Import::BulkImportEntity do { 'id' => 1, 'full_name' => 'test', - 'full_path' => 'full/path/test', + 'full_path' => 'full/path/tes', + 'web_url' => 'http://web.url/path', 'foo' => 'bar' } end subject { described_class.represent(importable_data).as_json } - %w[id full_name full_path].each do |attribute| + %w[id full_name full_path web_url].each do |attribute| it "exposes #{attribute}" do expect(subject[attribute.to_sym]).to eq(importable_data[attribute]) end |