Sha256: 157efa76971fe112d4bdef23b11dab731e51a16106ae0401bb8b7787c2485732

Contents?: true

Size: 425 Bytes

Versions: 3

Compression:

Stored size: 425 Bytes

Contents

require 'spec_helper'

describe Temporal do

  it "is a module" do
    Temporal.should be_a(Module)
  end

  it "has a version" do
    Temporal::VERSION.should be_a(String)
  end

  it "defines ControllerAdditions" do
    Temporal::ControllerAdditions.should be_a(Module)
  end

  it "includes ControllerAdditions in ActionController::Base" do
    ActionController::Base.new.methods.should include(:set_time_zone)
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
temporal-rails-0.2.4 spec/engine/temporal_spec.rb
temporal-rails-0.2.3 spec/engine/temporal_spec.rb
temporal-rails-0.2.2 spec/engine/temporal_spec.rb