Sha256: 9f947b631dc4c31d8a6f79bbd7ab3b80d446f43bb9331d8163d6e29e096e3f3c
Contents?: true
Size: 514 Bytes
Versions: 11
Compression:
Stored size: 514 Bytes
Contents
require "rails_helper" RSpec.describe JobNotifier::Adapters do describe "#names" do it { expect(subject.names).to contain_exactly("notifier") } end describe "#get_adapter_path" do it do expect(subject.get_adapter_path("notifier").to_s).to match( "app/assets/javascripts/job_notifier/notifier.js") end it "raises error with invalid adapter" do expect { subject.get_adapter_path("invalid") } .to raise_error( JobNotifier::Error::InvalidAdapter) end end end
Version data entries
11 entries across 11 versions & 1 rubygems