Sha256: 54bc8e7a467bb2237cbef3c3940a39decbb43aa104ad74bb5b8609890d9f1981
Contents?: true
Size: 378 Bytes
Versions: 3
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 "#distinct_id" do subject { controller.distinct_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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ab_panel-0.1.3 | spec/ab_panel/controller_additions_spec.rb |
ab_panel-0.1.2 | spec/ab_panel/controller_additions_spec.rb |
ab_panel-0.1.1 | spec/ab_panel/controller_additions_spec.rb |