Sha256: 63201716438e626c1695479294d76913c1be12e3b7b01cc6aa7a689242403a9d

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

require 'spec_helper'

describe Daigaku::Views do

  subject do
    class Test
      include Daigaku::Views
    end

    Test.new
  end

  [
    :default_window,
    :top_bar,
    :main_panel,
    :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

2 entries across 2 versions & 1 rubygems

Version Path
daigaku-0.0.2 spec/daigaku/views_spec.rb
daigaku-0.0.1 spec/daigaku/views_spec.rb