Sha256: 6a1238f6b6afc81496bc225eb826d28f5e81b6a56e8ffcc4f0155ad18523a50e
Contents?: true
Size: 575 Bytes
Versions: 1
Compression:
Stored size: 575 Bytes
Contents
require 'rspec' require 'spec_helper' describe Simple2ch do before(:all) do @sc = Simple2ch::BBS.new(:sc) @open = Simple2ch::BBS.new(:open) end describe '#new' do shared_examples '#new' do subject { s2 } it { should be_a_kind_of Simple2ch::BBS } end context '2ch.sc' do include_examples '#new' do let(:s2) { @sc } let(:type_of_2ch) { :sc } end end context 'open2ch.net' do include_examples '#new' do let(:s2) { @open } let(:type_of_2ch) { :open } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simple2ch-1.1.0 | spec/simple2ch_spec.rb |