# frozen_string_literal: true require "spec_helpers" describe Wayfarer::Task do subject(:task) { build(:task) } describe "#[], #[]=" do specify do expect { task[:foo] = "bar" }.to change { task[:foo] }.from(nil).to("bar") end end end