Browse Source

Follow renaming of microformats2 gem (#4203)

master
unarist 6 years ago
committed by Eugen Rochko
parent
commit
8d224ad23b
3 changed files with 5 additions and 5 deletions
  1. +1
    -1
      Gemfile
  2. +2
    -2
      Gemfile.lock
  3. +2
    -2
      spec/views/stream_entries/show.html.haml_spec.rb

+ 1
- 1
Gemfile View File

@@ -79,7 +79,7 @@ group :test do
gem 'capybara', '~> 2.14'
gem 'climate_control', '~> 0.2'
gem 'faker', '~> 1.7'
gem 'microformats2', '~> 3.0'
gem 'microformats', '~> 4.0'
gem 'rails-controller-testing', '~> 1.0'
gem 'rspec-sidekiq', '~> 3.0'
gem 'simplecov', '~> 0.14', require: false


+ 2
- 2
Gemfile.lock View File

@@ -242,7 +242,7 @@ GEM
mail (2.6.6)
mime-types (>= 1.16, < 4)
method_source (0.8.2)
microformats2 (3.1.0)
microformats (4.0.7)
json
nokogiri
mime-types (3.1)
@@ -533,7 +533,7 @@ DEPENDENCIES
letter_opener_web (~> 1.3)
link_header (~> 0.0)
lograge (~> 0.5)
microformats2 (~> 3.0)
microformats (~> 4.0)
mime-types (~> 3.1)
nokogiri (~> 1.7)
oj (~> 3.0)


+ 2
- 2
spec/views/stream_entries/show.html.haml_spec.rb View File

@@ -27,7 +27,7 @@ describe 'stream_entries/show.html.haml', without_verify_partial_doubles: true d

render

mf2 = Microformats2.parse(rendered)
mf2 = Microformats.parse(rendered)

expect(mf2.entry.name.to_s).to eq status.text
expect(mf2.entry.url.to_s).not_to be_empty
@@ -53,7 +53,7 @@ describe 'stream_entries/show.html.haml', without_verify_partial_doubles: true d

render

mf2 = Microformats2.parse(rendered)
mf2 = Microformats.parse(rendered)

expect(mf2.entry.name.to_s).to eq reply.text
expect(mf2.entry.url.to_s).not_to be_empty


Loading…
Cancel
Save