Sha256: 765a5e7b8bb24506b5dbe30fbea704046a2aa7af8e03d9fc16236c2facc75785

Contents?: true

Size: 378 Bytes

Versions: 10

Compression:

Stored size: 378 Bytes

Contents

require 'spec_helper'

class Controller
  include AbPanel::ControllerAdditions

  def session
    @session ||= {}
  end
end

describe AbPanel::ControllerAdditions do
  let(:controller) { Controller.new }

  describe "#ab_panel_id" do
    subject { controller.ab_panel_id }

    it { should match /^([A-Z]|[0-9])([A-Z]|[0-9])([A-Z]|[0-9])([A-Z]|[0-9])([A-Z]|[0-9])$/ }
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ab_panel-0.1.0 spec/ab_panel/controller_additions_spec.rb
ab_panel-0.0.9 spec/ab_panel/controller_additions_spec.rb
ab_panel-0.0.8 spec/ab_panel/controller_additions_spec.rb
ab_panel-0.0.7 spec/ab_panel/controller_additions_spec.rb
ab_panel-0.0.6 spec/ab_panel/controller_additions_spec.rb
ab_panel-0.0.5 spec/ab_panel/controller_additions_spec.rb
ab_panel-0.0.4 spec/ab_panel/controller_additions_spec.rb
ab_panel-0.0.3 spec/ab_panel/controller_additions_spec.rb
ab_panel-0.0.2 spec/ab_panel/controller_additions_spec.rb
ab_panel-0.0.1 spec/ab_panel/controller_additions_spec.rb