Sha256: 990f4fe1fc9e4b6bf1d7c1e5c2d7aa7ca242251af2cae7bb34d6bfacdf6df0ee

Contents?: true

Size: 343 Bytes

Versions: 4

Compression:

Stored size: 343 Bytes

Contents

require 'spec_helper'

describe Daigaku::Views do
  subject do
    class Test
      include Daigaku::Views
    end

    Test.new
  end

  [
    :default_window,
    :sub_window_below_top_bar
  ].each do |method|
    it "has a private method ::#{method}" do
      expect(subject.private_methods.include?(method)).to be_truthy
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
daigaku-1.0.0 spec/daigaku/views_spec.rb
daigaku-0.6.0 spec/daigaku/views_spec.rb
daigaku-0.5.0 spec/daigaku/views_spec.rb
daigaku-0.4.0 spec/daigaku/views_spec.rb