Permalink
Browse files

Changed capability historical_readings to machine_readings_historical…

… and machines_readings_historical
  • Loading branch information...
1 parent 195fff2 commit 50a49817da865b2bbff98dd298ccdb22fd2d478d Geoff Corey committed Mar 21, 2013
Showing with 6 additions and 3 deletions.
  1. +2 −1 models/capability.rb
  2. +4 −2 spec/models/capabilities_spec.rb
@@ -15,11 +15,12 @@ class Capability < Base::Capability
# )
SUPPORTED_CAPABILITIES = %w(
inode
- historical_readings
machines
machines_readings
+ machines_readings_historical
machine
machine_readings
+ machine_readings_historical
diagnostics
)
def self.all(inode)
@@ -3,9 +3,11 @@
describe Capability.all("dummy") do
it {should include(Capability.new(:name => "diagnostics"))}
- it {should include(Capability.new(:name => "historical_readings"))}
it {should include(Capability.new(:name => "inode"))}
- it {should include(Capability.new(:name => "machines"))}
it {should include(Capability.new(:name => "machine"))}
it {should include(Capability.new(:name => "machine_readings"))}
+ it {should include(Capability.new(:name => "machine_readings_historical"))}
+ it {should include(Capability.new(:name => "machines"))}
+ it {should include(Capability.new(:name => "machines_readings"))}
+ it {should include(Capability.new(:name => "machines_readings_historical"))}
end

0 comments on commit 50a4981

Please sign in to comment.