Sha256: 69cc5628c5a9af69660643d089066f096b4095bdc061604235fc9791d9c9f72f
Contents?: true
Size: 761 Bytes
Versions: 7
Compression:
Stored size: 761 Bytes
Contents
require 'spec_helper' describe Arachni::OptionGroups::Snapshot do include_examples 'option_group' subject { described_class.new } %w(save_path).each do |method| it { should respond_to method } it { should respond_to "#{method}=" } end describe '.save_path' do context "when #{Arachni::OptionGroups::Paths}.config['framework']['snapshots']" do it 'returns it' do Arachni::OptionGroups::Paths.stub(:config) do { 'framework' => { 'snapshots' => 'stuff/' } } end subject.save_path.should == 'stuff/' end end end end
Version data entries
7 entries across 7 versions & 1 rubygems