spec/fear/some_spec.rb in fear-0.2.0 vs spec/fear/some_spec.rb in fear-0.3.0
- old
+ new
@@ -1,9 +1,9 @@
RSpec.describe Fear::Some do
include Fear::Option::Mixin
it_behaves_like Fear::RightBiased::Right do
- let(:right) { described_class.new('value') }
+ let(:right) { Some('value') }
end
subject(:some) { Some(42) }
describe '#select' do