This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jdee@fatman:~/github/csinitiative/tickdb/control$ irb | |
irb(main):001:0> f = File.open '/tmp/abc', 'a' | |
=> #<File:/tmp/abc> | |
irb(main):002:0> f.close | |
=> nil | |
irb(main):003:0> f.close | |
IOError: closed stream | |
from (irb):3:in `close' | |
from (irb):3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failing Scenarios: | |
cucumber -p standard features/standard/core_field_help_text.feature:6 # Scenario: Viewing help text on morbidity event core fields | |
cucumber -p standard features/standard/core_field_help_text.feature:13 # Scenario: Viewing help text on contact event core fields | |
cucumber -p standard features/standard/event_search.feature:52 # Scenario: Searching for events sent to CDC | |
cucumber -p standard features/standard/event_search.feature:119 # Scenario: Searching for an events should limit results to configured max | |
cucumber -p standard features/standard/fb_contact_core_field_configs.feature:6 # Scenario: Contact event core field configs | |
cucumber -p standard features/standard/fb_morb_core_field_configs.feature:6 # Scenario: Morbidity event core field configs | |
cucumber -p standard features/standard/show_encounter.feature:6 # Scenario: Navigating to show mode from morb show mode | |
cucumber -p standard features/standard/web_api_cmrs_client.feature:7 # Scenario: Create CMR | |
cucumber -p standard vendor/trisano/tr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle exec cucumber -p standard features/standard/web_api_cmrs_client.feature:7 | |
Using the standard profile... | |
/home/jdee/.rvm/gems/jruby-1.5.2/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement | |
/home/jdee/github/csinitiative/trisano/webapp/features/support/hl7_messages.rb:18 warning: already initialized constant HL7MESSAGES | |
Feature: Web API Cmrs Client | |
To create and modify morbidity reports programmatically | |
An interface is needed that can be integrated into code | |
@ignore_plugin_renderers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jdee@fatman:~/github/csinitiative/trisano/webapp$ bundle show webrat | |
/home/jdee/.rvm/gems/jruby-1.5.2/bundler/gems/webrat-d8a7140456fa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failing Scenarios: | |
cucumber -p standard features/standard/core_field_help_text.feature:6 # Scenario: Viewing help text on morbidity event core fields | |
cucumber -p standard features/standard/core_field_help_text.feature:13 # Scenario: Viewing help text on contact event core fields | |
cucumber -p standard features/standard/fb_contact_core_field_configs.feature:6 # Scenario: Contact event core field configs | |
cucumber -p standard features/standard/fb_morb_core_field_configs.feature:6 # Scenario: Morbidity event core field configs | |
cucumber -p standard vendor/trisano/trisano_ee/features/standard/google_api.feature:6 # Scenario: Include states in javascript file | |
cucumber -p standard vendor/trisano/trisano_ee/features/standard/show_cmr.feature:3 # Scenario: Showing a morbidity event | |
cucumber -p standard vendor/trisano/trisano_ee/features/standard/show_contact_event.feature:3 # Scenario: Showing a contact event | |
329 scenarios (7 failed, 322 passed) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
class Fixnum | |
def is_perfect | |
(1...self).select { |x| self % x == 0 }.inject(:+) == self | |
end | |
end | |
def first_perfect | |
j = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failing Scenarios: | |
cucumber -p enhanced features/enhanced/attachments.feature:7 # Scenario: Delete an attachment from the add attachment screen | |
cucumber -p enhanced features/enhanced/attachments.feature:18 # Scenario: Delete an attachment from the event show screen | |
cucumber -p enhanced features/enhanced/cmr_filter_list.feature:7 # Scenario: Filtering the CMR list by one disease | |
cucumber -p enhanced features/enhanced/cmr_filter_list.feature:22 # Scenario: Filtering the CMR list by multiple diseases | |
cucumber -p enhanced features/enhanced/common_test_type_delete.feature:24 # Scenario: Deleting a common test type from show mode | |
cucumber -p enhanced features/enhanced/common_test_type_delete.feature:35 # Scenario: Deleting a common test type referenced by a lab result | |
cucumber -p enhanced features/enhanced/contact_fields_help_text.feature:7 # Scenario: Viewing contact event help text | |
cucumber -p enhanced features/enhanced/event_clinicians.feature:6 # Scenario: Adding and removing clinicians in new mode | |
cucumber -p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle exec cucumber -p enhanced features/enhanced/attachments.feature:7 | |
Using the enhanced profile... | |
/home/jdee/.rvm/gems/jruby-1.5.2/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement | |
Features: Attaching documents to an Event. | |
To support better documenting of cases | |
Correspondence and images files can be attached to an event. | |
Scenario: Delete an attachment from the add attachment screen # features/enhanced/attachments.feature:7 | |
Connection refused - Connection refused (Errno::ECONNREFUSED) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Running Perinatal Hep B specs *** | |
** Invoke db:test:prepare | |
** Execute trisano:perinatal_hep_b:spec | |
/home/jdee/.rvm/gems/jruby-1.5.2/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement | |
/home/jdee/.rvm/gems/jruby-1.5.2/gems/polyglot-0.3.1/lib/polyglot.rb:64:in `require': load error: action_controller/integration -- java.lang.OutOfMemoryError: GC overhead limit exceeded (LoadError) | |
from /home/jdee/.rvm/gems/jruby-1.5.2/gems/polyglot-0.3.1/lib/polyglot.rb:64:in `require' | |
from /home/jdee/.rvm/gems/jruby-1.5.2/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require' | |
from /home/jdee/.rvm/gems/jruby-1.5.2/gems/rspec-rails-1.3.2/lib/spec/rails.rb:9 | |
from /home/jdee/.rvm/gems/jruby-1.5.2/gems/rspec-rails-1.3.2/lib/spec/rails.rb:64:in `require' | |
from /home/jdee/.rvm/gems/jruby-1.5.2/gems/polyglot-0.3.1/lib/polyglot.rb:64:in `require' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'features/support/hl7_messages' | |
vt_results = {} | |
HL7MESSAGES.each do |name, msg| | |
begin | |
hl7_msg = HL7::Message.parse msg | |
hl7_msg.observation_requests.each do |obr| |
OlderNewer