spec/drillbit/accept_header_spec.rb in drillbit-1.1.0 vs spec/drillbit/accept_header_spec.rb in drillbit-2.0.0
- old
+ new
@@ -1,11 +1,11 @@
# frozen_string_literal: true
require 'spec_helper'
require 'drillbit/accept_header'
# rubocop:disable Metrics/LineLength
-module Drillbit
-RSpec.describe AcceptHeader do
+module Drillbit
+describe AcceptHeader do
it 'can validate an accept header with all the pieces of information' do
header = AcceptHeader.new(application: 'westeros',
header: 'application/vnd.westeros+redkeep;version=1.0.0')
expect(header).to be_valid