Sha256: bda6981fc1ba507ebc287e8096c8de75b4ab601dde20d2cce407e57f19c00e3a

Contents?: true

Size: 396 Bytes

Versions: 10

Compression:

Stored size: 396 Bytes

Contents

Then /^the conclusion of the committee should have ratios summing to "(.*)"$/ do |sum|
  ratios = @report.conclusion
  ratios.values.sum.to_f.should == sum.to_f
end

Then /^the "(.*)" committee should have used quorum "(.*)"$/ do |committee, quorum|
  report = @activity.deliberations[:emission].reports.find { |r| r.committee.name == committee.to_sym }
  report.quorum.name.should == quorum
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
purchase-1.0.15 features/step_definitions/purchase_steps.rb
purchase-1.0.14 features/step_definitions/purchase_steps.rb
purchase-1.0.13 features/step_definitions/purchase_steps.rb
purchase-1.0.12 features/step_definitions/purchase_steps.rb
purchase-1.0.11 features/step_definitions/purchase_steps.rb
purchase-1.0.10 features/step_definitions/purchase_steps.rb
purchase-1.0.9 features/step_definitions/purchase_steps.rb
purchase-1.0.8 features/step_definitions/purchase_steps.rb
purchase-1.0.7 features/step_definitions/purchase_steps.rb
purchase-1.0.6 features/step_definitions/purchase_steps.rb