TMXCredit/pg_power — pull request #43 by greyblake (2014-01-15 11:11:47+00:00)
Title: Make specs pass with postgresql 9.3

Task 13297 - Make specs pass against PostgreSQL 9.3

Addresses issue reported by @bruce https://github.com/TMXCredit/pg_power/pull/42#issuecomment-32284781

PostgreSQL 9.3 returns a formatted view defenition that made our test fail because regexp we use doesn't match.

## Changes
* Update regexp in spec to match view defenitions returned by Posgresql9.3 and by previous versions

## RSpec

Passed with 9.3 and 9.2
```
Finished in 0.86273 seconds
88 examples, 0 failures, 3 pending
```

## Doc

Not affected.