Sha256: d85eead9f4154c1c527b853887a30aa0af3d5a29b90e6c43dbc432dcad8148c2

Contents?: true

Size: 455 Bytes

Versions: 3

Compression:

Stored size: 455 Bytes

Contents

require 'stingray/exec/dsl'

describe 'Users', :integration => true do
  include Stingray::Exec::DSL

  it 'should be able to list users' do
    stingray_exec do
      foreach(users.list_users[:values][:item]) do |item|
        item.should_not be_nil
      end
    end
  end

  it 'should be able to list groups' do
    stingray_exec do
      foreach(users.list_groups[:values][:item]) do |item|
        item.should_not be_nil
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stingray-exec-0.2.0 spec/integration/users_spec.rb
stingray-exec-0.1.1 spec/integration/users_spec.rb
stingray-exec-0.1.0 spec/integration/users_spec.rb