spec/equatable/subclass_spec.rb in equatable-0.5.0 vs spec/equatable/subclass_spec.rb in equatable-0.6.0
- old
+ new
@@ -1,9 +1,7 @@
-# encoding: utf-8
+# frozen_string_literal: true
-require 'spec_helper'
-
-describe Equatable, 'subclass' do
+RSpec.describe Equatable, 'subclass' do
let(:name) { 'Value' }
context 'when subclass' do
let(:value) { 11 }
let(:klass) {