sakai-cle-test-api 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ class AnnouncementObject
6
6
 
7
7
  attr_accessor :title, :body, :site, :link, :access, :availability,
8
8
  :subject, :saved_by, :date, :creation_date, :groups,
9
- :message, :message_html
9
+ :message, :message_html, :id
10
10
 
11
11
  def initialize(browser, opts={})
12
12
  @browser = browser
@@ -38,6 +38,7 @@ class AnnouncementObject
38
38
  end
39
39
  on_page Announcements do |page|
40
40
  @link = page.href(@title)
41
+ @id = @link[/(?<=msg\/).+(?=\/main\/)/]
41
42
  end
42
43
  end
43
44
 
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'sakai-cle-test-api'
3
- s.version = '0.1.2'
3
+ s.version = '0.1.3'
4
4
  s.summary = %q{Sakai-CLE functional testing API for the rSmart Collaborative Learning Environment}
5
5
  s.description = %q{The Sakai-CLE gem provides an API for interacting with pages and page elements in rSmart's deployment of the Sakai Collaborative Learning Environment.}
6
6
  s.files = Dir.glob("**/**/**")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sakai-cle-test-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-25 00:00:00.000000000 Z
12
+ date: 2012-09-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: watir-webdriver